Nginx now showing 403 on website

October 19, 2017 536 views
Nginx Ubuntu 16.04

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

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!

Have another answer? Share your knowledge.