From 658587e7d250381a95f32f45390fa880b00a4f5e Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 5 Mar 2012 11:47:25 +0000 Subject: Merge of r4423: fixed proxy_redirect off inheritance. --- src/http/modules/ngx_http_proxy_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) { -- cgit