nginx出现403 Forbidden解决方法
·
1)有可能是权限问题
|
1
|
shell>
chmod
-R 755
/usr/local/nginx/html
|
|
1
2
3
4
5
|
location / {
root html;
autoindex on;
index index.php index.html index.htm;
}
|
3)目录没有定义需要的类型
|
1
|
index index.php index.html index.htm;
|
更多推荐


所有评论(0)