From: Maxim Dounin Date: Mon, 5 Mar 2012 11:47:25 +0000 (+0000) Subject: Merge of r4423: fixed proxy_redirect off inheritance. X-Git-Tag: release-1.0.13~13 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=658587e7d250381a95f32f45390fa880b00a4f5e;p=nginx.git Merge of r4423: fixed proxy_redirect off inheritance. --- 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) {