mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
Proxy: the "TE" header now stripped by default (ticket #537).
This commit is contained in:
parent
1ea64b3f8f
commit
88ed2d39af
1 changed files with 2 additions and 0 deletions
|
|
@ -715,6 +715,7 @@ static ngx_keyval_t ngx_http_proxy_headers[] = {
|
|||
{ ngx_string("Host"), ngx_string("$proxy_host") },
|
||||
{ ngx_string("Connection"), ngx_string("close") },
|
||||
{ ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") },
|
||||
{ ngx_string("TE"), ngx_string("") },
|
||||
{ ngx_string("Transfer-Encoding"), ngx_string("") },
|
||||
{ ngx_string("Keep-Alive"), ngx_string("") },
|
||||
{ ngx_string("Expect"), ngx_string("") },
|
||||
|
|
@ -742,6 +743,7 @@ static ngx_keyval_t ngx_http_proxy_cache_headers[] = {
|
|||
{ ngx_string("Host"), ngx_string("$proxy_host") },
|
||||
{ ngx_string("Connection"), ngx_string("close") },
|
||||
{ ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") },
|
||||
{ ngx_string("TE"), ngx_string("") },
|
||||
{ ngx_string("Transfer-Encoding"), ngx_string("") },
|
||||
{ ngx_string("Keep-Alive"), ngx_string("") },
|
||||
{ ngx_string("Expect"), ngx_string("") },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue