changeset 2183:4a5bfd728a12

disable original URI usage in proxy_pass after X-Accel-Redirect
author Igor Sysoev <igor@sysoev.ru>
date Sun, 17 Aug 2008 17:44:08 +0000
parents 23309bcd9937
children 274c0f3ea600
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1300,6 +1300,8 @@ ngx_http_upstream_process_header(ngx_eve
             r->method = NGX_HTTP_GET;
         }
 
+        r->valid_unparsed_uri = 0;
+
         ngx_http_internal_redirect(r, uri, &args);
         return;
     }