Avatar
ppal6426  
Posts: 2
Forum Level: YetiShare (Inc Support), YetiShare, Premium Member
Joined: Tue Jan 31, 2017 6:28 am

recommended nginx file and directory permissions/owner

Thu Feb 02, 2017 4:44 pm

In the installation docs it instructs to set permissions to 755 or 777 but I know that is not what the permissions should be for a production environment and I can't seem to find any other mention of it in the install docs or this forum. What should the owner and permissions for directory and files be set to? I'm on Ubuntu 16.04 w/nginx and php 7. Also the directory "files" is where the local files store is so is the following nginx directive enough to protect that directory?

location /files/ {
internal;
}

Thank you in advance.

This thread has 4 replies

You must be a registered paid member and logged in to view this response.


RegisterLoginRegister

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 4 guests