nginx - Tengine报403 Forbidden错误

浏览:44日期:2022-07-14

问题描述

初次用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.comDate: 2016/01/04 21:30:48Powered by Tengine/2.0.3

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

问题解答

回答1:

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

相关文章: