Merge pull request #583 from stibi/patch-1
fixed lua_package_path in nginx.tmpl
This commit is contained in:
commit
3810515663
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ http {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# lua section to return proper error codes when custom pages are used
|
# lua section to return proper error codes when custom pages are used
|
||||||
lua_package_path '.?.lua;./etc/nginx/lua/?.lua;/etc/nginx/lua/vendor/lua-resty-http/lib/?.lua;';
|
lua_package_path '.?.lua;/etc/nginx/lua/?.lua;/etc/nginx/lua/vendor/lua-resty-http/lib/?.lua;';
|
||||||
init_by_lua_block {
|
init_by_lua_block {
|
||||||
require("error_page")
|
require("error_page")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue