Hi there
I just installed nginx and then uploaded a .php file, I’m now getting 403 Forbidden.
can anyone help.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
It sounds like it might be a permissions issue, I would recommend checking your Nginx error log for more information on what the exact issue could be:
Feel free to share the log output here so that I could further advise you.
Another thing that you could do is to check this answer here on how to troubleshoot common Nginx problems:
https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server
Hope that this helps! Regards, Bobby