diff options
author | Zhidao HONG <z.hong@f5.com> | 2021-09-28 23:08:26 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2021-09-28 23:08:26 +0800 |
commit | 37144d68499217d086c26a2030e6e9f6f7342152 (patch) | |
tree | 1c32c63469128c19d4f215d5ad56beff89719abc /src/nxt_http_route.c | |
parent | 2fc64c65bcd4bc0d6a46a0e19731fd5038bd1853 (diff) | |
download | unit-37144d68499217d086c26a2030e6e9f6f7342152.tar.gz unit-37144d68499217d086c26a2030e6e9f6f7342152.tar.bz2 |
Static: variables in the "chroot" option.
Diffstat (limited to 'src/nxt_http_route.c')
-rw-r--r-- | src/nxt_http_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c index 8af22989..328a32c6 100644 --- a/src/nxt_http_route.c +++ b/src/nxt_http_route.c @@ -679,7 +679,7 @@ nxt_http_action_init(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, nxt_conf_get_string(acf.pass, &pass); - action->u.var = nxt_var_compile(&pass, mp); + action->u.var = nxt_var_compile(&pass, mp, 0); if (nxt_slow_path(action->u.var == NULL)) { return NXT_ERROR; } @@ -1603,7 +1603,7 @@ nxt_http_action_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, return NULL; } - action->u.var = nxt_var_compile(pass, mp); + action->u.var = nxt_var_compile(pass, mp, 0); if (nxt_slow_path(action->u.var == NULL)) { return NULL; } |