Skip to content

Commit

Permalink
Fix missing environment variable declaration for nginx.
Browse files Browse the repository at this point in the history
Things seemed to work fine without this declaration, except when
experimenting with disabling Lua's code cache in development. Then this
environment variable was no longer available via os.getenv after the
first request load.
  • Loading branch information
GUI committed Jun 26, 2017
1 parent 6e21b38 commit 9427524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/etc/nginx/router.conf.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ events {

error_log stderr;

env API_UMBRELLA_SRC_ROOT;
env API_UMBRELLA_RUNTIME_CONFIG;

pcre_jit on;
Expand Down

0 comments on commit 9427524

Please sign in to comment.