Skip to content

Commit

Permalink
Merge pull request #583 from stibi/patch-1
Browse files Browse the repository at this point in the history
fixed lua_package_path in nginx.tmpl
  • Loading branch information
aledbf authored Apr 12, 2017
2 parents e2dbca6 + beb17f3 commit 3810515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 3810515

Please sign in to comment.