commit | f60dde9767d71d0d69d3a98646d813df423e7034 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Sun Aug 17 17:44:08 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Sun Aug 17 17:44:08 2008 +0000 |
tree | 752b3a2a9df4038a1cae901e527935a57846b392 | |
parent | d3cbd87f50f7bad5530a570a7cf2ffa33230b601 [diff] |
disable original URI usage in proxy_pass after X-Accel-Redirect
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 191219b..c270996 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -1300,6 +1300,8 @@ r->method = NGX_HTTP_GET; } + r->valid_unparsed_uri = 0; + ngx_http_internal_redirect(r, uri, &args); return; }