首页  >  问答  >  正文

nginx - Tengine报403 Forbidden错误

初次用Tengine, 出现错误:

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

然后不停地找方案,例如把网站目录 /home/wwwroot/Comp权限设置成777,或者在nginx.conf配置文件中添加 user root ...都不管用,还请各位大神赐教

天蓬老师天蓬老师2712 天前1841

全部回复(1)我来回复

  • 迷茫

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

    你这目录(/home/wwwroot/Comp)下有index文件吗?

    回复
    0
  • 取消回复