CentOS 安装了 nginx,访问网站目录比如 http://x.com/abc
时,不会自动载入 http://x.com/abc/index.html
,而是直接 forbidden 了。
但如果访问 http://x.com/abc/index.html
就正常,怎么办?
大家讲道理2017-04-25 09:03:10
Nginx에 이 설정이 있는지 확인하세요.
으아아아Nginx가 /abc
에 해당하는 파일 디렉터리에 대해 r 권한을 가지고 있는지 확인하세요.