403 Forbidden: nginx is blocking default page

2019-08-22 15:55发布

问题:

If I go to my website example.com I get an 403 Forbidden error from nginx but not on example.com/index.html (the indexfile is default). I use Plesk Onyx 17.0.17 on CentOS 6.9. Every other file in my webspace is loading correctly. Only on the clear domain example.com it is not working. I have the default nginx configuration.

https://example.com = 403 Forbidden; https://example.com/index.html = working

回答1:

I solved the problem. I changed from FPM to FastCGI in the PHP-Settings (Plesk). Plesk PHP-Settings (Screenshot)