403原因

1. nginx中index参数没有指定默认首页文件名

若首页文件没有并且配置了autoindex on; 则会列出目录结构

2. server中设置了allow或deny进行限制访问

3. nginx用户没有权限访问网站程序目录

Last updated