"/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 *

访问正常

原文地址:https://www.cnblogs.com/sagech/p/5650043.html