win7上 nginx 出现 403 Forbidden

一般是目录权限问题,在conf文件找到

location / {
index index.html index.htm index.php;
# autoindex on;
}

 

把#去掉就可以了。

posted @ 2019-11-20 09:00  hanzhang  阅读(2587)  评论(0编辑  收藏  举报