mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
disable original URI usage in proxy_pass after X-Accel-Redirect
This commit is contained in:
parent
d3cbd87f50
commit
f60dde9767
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue