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;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章