Nginx resolve 403 forbidden error

When configuration virtual host in nginx with below configuration file. [caption id=“attachment_101” align=“aligncenter” width=“522”] virtual host configuration for php.sandbox[/caption] Might be, you will have trouble with 403 forbidden error: [caption id=“attachment_99” align=“aligncenter” width=“1020”] nginx virtual host 403[/caption] it could be caused by selinux, just check selinux audit logs with the command: sudo ausearch -m avc –start recent | grep httpd or sudo ausearch -m avc –start recent | grep httpd or sudo ausearch -m avc –start recent | grep nginx sudo ausearch -m avc –start recent | grep nginx...

April 15, 2015 · 1 min · longka