changeset 4505:7150b4325a25 stable-1.0

Merge of r4423: fixed proxy_redirect off inheritance.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 05 Mar 2012 11:47:25 +0000
parents 7107dc7a4ff7
children 14f8e8a0cc77
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {