fix nginx proxy_pass sockets

@froztbyte can you have a look at this please? I can't seem to get sockets to work without changing the socket perms to `777`