Home  >  Q&A  >  body text

nginx - Tengine reports 403 Forbidden error

The first time I used Tengine, an error occurred:

403 Forbidden

You don't have permission to access the URL on this server. Sorry for the inconvenience.
Please report this message and include the following information to us.
Thank you very much!
URL: http://172.20.6.136:81/
Server: webphp2.yumwei.com
Date: 2016/01/04 21:30:48
Powered by Tengine/2.0.3

Then I kept looking for solutions, such as setting the permissions of the website directory /home/wwwroot/Comp to 777, or adding user root in the nginx.conf configuration file...it didn't work. Please give me some advice

天蓬老师天蓬老师2712 days ago1843

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-16 17:22:11

    Is there an index file in your directory (/home/wwwroot/Comp)?

    reply
    0
  • Cancelreply