changeset 7194:0b72d545f098

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.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 30 Jan 2018 22:23:58 +0300
parents 9d14931cec8c
children 6db472f8dc8e
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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_h
                  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 },