}

Selinux Index Page 1

Nginx static files return 403 even with correct permission

If you have the correct owner and permission on your statis directory and you still get an error 403 with nginx, check if selinux is not allowing nginx to server the files. use the command chcon -Rt httpd_sys_content_t /var/www... to allow http to be served from that directory. Check this solution for full details