diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 11:47:25 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 11:47:25 +0000 |
commit | 658587e7d250381a95f32f45390fa880b00a4f5e (patch) | |
tree | 399bc899c7f0dc58b8ca8642ddc7e6ac52c94022 | |
parent | 510a0036deed0dc3164a08adb538f24d86c3840f (diff) | |
download | nginx-658587e7d250381a95f32f45390fa880b00a4f5e.tar.gz |
Merge of r4423: fixed proxy_redirect off inheritance.
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 6a1bfc758..26626ee57 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -2496,6 +2496,8 @@ ngx_http_proxy_redirect(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return NGX_CONF_OK; } + plcf->redirect = 1; + value = cf->args->elts; if (cf->args->nelts == 2) { |