nginx openresty content_by_lua_file 404错误

nginx openresty content_by_lua_file 404错误

2018/08/05 19:18:59 [error] 21231#0: *63 failed to load external Lua file "/home/l/lua/lua_request.lua": cannot open /home/l/lua/lua_request.lua: Permission denied, client: 192.168.74.135, server: localhost, request: "POST /lua_request?a=122 HTTP/1.1", host: "192.168.74.135:8080"

nginx配置文件里添加

user root root;

你可能感兴趣的:(openresty)