diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-01-30 22:23:58 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-01-30 22:23:58 +0300 |
commit | c8f46e070ff78948b1aeec010c6863ddbc666f65 (patch) | |
tree | 4e57d35b5e2469493915b2bb9511a2324dbda7d9 | |
parent | 57dde2ab37708423d97333be19830437732b3f4f (diff) | |
download | nginx-c8f46e070ff78948b1aeec010c6863ddbc666f65.tar.gz |
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.
-rw-r--r-- | src/http/ngx_http_upstream.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 736ab6349..224499bb3 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -284,10 +284,6 @@ static ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = { ngx_http_upstream_process_vary, 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_http_upstream_process_accel_expires, 0, ngx_http_upstream_copy_header_line, 0, 0 }, |