mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
disable original URI usage in proxy_pass after X-Accel-Redirect
This commit is contained in:
parent
d3cbd87f50
commit
f60dde9767
@ -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…
Reference in New Issue
Block a user