Skip to content

Commit 9427524

Browse files
committed
Fix missing environment variable declaration for nginx.
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.
1 parent 6e21b38 commit 9427524

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/etc/nginx/router.conf.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ events {
1414

1515
error_log stderr;
1616

17+
env API_UMBRELLA_SRC_ROOT;
1718
env API_UMBRELLA_RUNTIME_CONFIG;
1819

1920
pcre_jit on;

0 commit comments

Comments
 (0)