aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-17 17:44:08 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-17 17:44:08 +0000
commitf60dde9767d71d0d69d3a98646d813df423e7034 (patch)
tree752b3a2a9df4038a1cae901e527935a57846b392 /src
parentd3cbd87f50f7bad5530a570a7cf2ffa33230b601 (diff)
downloadnginx-f60dde9767d71d0d69d3a98646d813df423e7034.tar.gz
nginx-f60dde9767d71d0d69d3a98646d813df423e7034.zip
disable original URI usage in proxy_pass after X-Accel-Redirect
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 191219b73..c27099616 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1300,6 +1300,8 @@ ngx_http_upstream_process_header(ngx_event_t *rev)
r->method = NGX_HTTP_GET;
}
+ r->valid_unparsed_uri = 0;
+
ngx_http_internal_redirect(r, uri, &args);
return;
}