disable original URI usage in proxy_pass after X-Accel-Redirect

This commit is contained in:
Igor Sysoev 2008-08-17 17:44:08 +00:00
parent d3cbd87f50
commit f60dde9767

View File

@ -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;
}