win7上 nginx 出现 403 Forbidden

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

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

把#去掉就可以了。

原文地址:https://www.cnblogs.com/hanzg/p/11895524.html