84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
CentOS 安装了 nginx,访问网站目录比如 http://x.com/abc 时,不会自动载入 http://x.com/abc/index.html,而是直接 forbidden 了。
http://x.com/abc
http://x.com/abc/index.html
但如果访问 http://x.com/abc/index.html 就正常,怎么办?
闭关修行中......
检查 Nginx 中有没有这项设置:
index index.html;
检查 Nginx 对 /abc 对应的文件目录有没有 r 权限。
/abc
检查 Nginx 中有没有这项设置:
检查 Nginx 对
/abc
对应的文件目录有没有 r 权限。