server {
root /www/test;
index index.html index.htm;
server_name .dev.mysite.info;
我在目录/ www / test中有HTML文件,一切正常.
lrwxrwxrwx 1 root root 33 Jun 17 10:39 test -> /root/DropBox/digital_ocean/test/
"500 Internal Server Error"
为什么以及如何解决它?
更新:
root@ocean:/var/log/Nginx# cat error.log
2013/06/17 11:40:27 [crit] 26197#0: *1 stat() "/www/test/" Failed (13: Permission denied),client: 195.239.188.28,server: dev.meditat0r.info,request: "GET / HTTP/1.1",host: "meditat0r.info"
2013/06/17 11:40:27 [crit] 26197#0: *1 stat() "/www/test/" Failed (13: Permission denied),host: "meditat0r.info"
2013/06/17 11:40:27 [crit] 26197#0: *1 stat() "/www/test/index.html" Failed (13: Permission denied),host: "meditat0r.info"
...
2013/06/17 11:40:27 [error] 26197#0: *1 rewrite or internal redirection cycle while internally redirecting to "/index.html",host: "meditat0r.info"
最佳答案
原文链接:https://www.f2er.com/nginx/435189.html