Welcome! Log In Create A New Profile

Advanced

[nginx] Upstream: removed X-Powered-By from the list of special headers.

January 30, 2018 02:26PM
details: http://hg.nginx.org/nginx/rev/0b72d545f098
branches:
changeset: 7194:0b72d545f098
user: Ruslan Ermilov <ru@nginx.com>
date: Tue Jan 30 22:23:58 2018 +0300
description:
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.

diffstat:

src/http/ngx_http_upstream.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 9d14931cec8c -r 0b72d545f098 src/http/ngx_http_upstream.c
--- a/src/http/ngx_http_upstream.c Tue Jan 30 17:46:31 2018 +0300
+++ b/src/http/ngx_http_upstream.c Tue Jan 30 22:23:58 2018 +0300
@@ -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 },
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Upstream: removed X-Powered-By from the list of special headers.

ru@nginx.com 747 January 30, 2018 02:26PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready