NGINX not working other than /usr/share/nginx directory

Solution 1:

I assume you have SELinux running and you need to add permissions for nginx to access the other folder.

Edit: See also this answer on SELinux: https://stackoverflow.com/a/26228202