# HG changeset patch # User Maxim Dounin # Date 1330948045 0 # Node ID 7150b4325a25c448c02b9c67731597c3187a57b6 # Parent 7107dc7a4ff7b06a88265c4bf47043945e07a1c7 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 --- 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, return NGX_CONF_OK; } + plcf->redirect = 1; + value = cf->args->elts; if (cf->args->nelts == 2) {