websockets
websockets copied to clipboard
Nginx Reverse Proxy - Unix Socket - Permission Denied
How can nginx read the .sock file if websockets does not give it permission?
Is nginx even capable of reading/writing anything outside of /var/www (Even if they own it)?
Setting the umask of the Python process with os.umask() should do the job.
nginx can read anywhere, provided the user it's running under has access.