Merge pull request #583 from stibi/patch-1

fixed lua_package_path in nginx.tmpl
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-04-12 17:04:05 -03:00 committed by GitHub
commit 3810515663

View file

@ -43,7 +43,7 @@ http {
{{ end }}
# 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 {
require("error_page")
}