"/usr/local/openresty/nginx/html/index.html" is forbidden (13: Permission denied), client: 10.0.4.118, server: localhost, request: "GET / HTTP/1.1"

openrestry 安装之后 报"/usr/local/openresty/nginx/html/index.html" is forbidden (13: Permission denied), client: 10.0.4.118, server: localhost, request: "GET / HTTP/1.1"

 

Permission denied错误是权限问题。

  

权限应该为755

chmod -R 755 *

访问正常

posted @ 2016-07-07 14:42  浪荡小新  阅读(4650)  评论(0编辑  收藏  举报