mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Upstream: removed X-Powered-By from the list of special headers.
After 1e720b0be7ec, it's neither specially processed nor copied when redirecting with X-Accel-Redirect.
This commit is contained in:
parent
57dde2ab37
commit
c8f46e070f
@ -284,10 +284,6 @@ static ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = {
|
|||||||
ngx_http_upstream_process_vary, 0,
|
ngx_http_upstream_process_vary, 0,
|
||||||
ngx_http_upstream_copy_header_line, 0, 0 },
|
ngx_http_upstream_copy_header_line, 0, 0 },
|
||||||
|
|
||||||
{ ngx_string("X-Powered-By"),
|
|
||||||
ngx_http_upstream_ignore_header_line, 0,
|
|
||||||
ngx_http_upstream_copy_header_line, 0, 0 },
|
|
||||||
|
|
||||||
{ ngx_string("X-Accel-Expires"),
|
{ ngx_string("X-Accel-Expires"),
|
||||||
ngx_http_upstream_process_accel_expires, 0,
|
ngx_http_upstream_process_accel_expires, 0,
|
||||||
ngx_http_upstream_copy_header_line, 0, 0 },
|
ngx_http_upstream_copy_header_line, 0, 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user