Nginx now showing 403 on website

Posted October 19, 2017 807 views
NginxUbuntu 16.04

After restarting the nginx service following this guide: . my server is now showing forbidden on the homepage (only page made so far)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


One of the most common causes of the “403 Forbidden” error is not having a correctly set up index file.

If you have a static site you should add something like this to your server block:

index index.html index.htm index.php;

Hope that this helps!