Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 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 | 93abb5a855d6 |
children | 6ba68ad8b24c |
comparison
equal
deleted
inserted
replaced
7193:9d14931cec8c | 7194:0b72d545f098 |
---|---|
282 | 282 |
283 { ngx_string("Vary"), | 283 { ngx_string("Vary"), |
284 ngx_http_upstream_process_vary, 0, | 284 ngx_http_upstream_process_vary, 0, |
285 ngx_http_upstream_copy_header_line, 0, 0 }, | 285 ngx_http_upstream_copy_header_line, 0, 0 }, |
286 | 286 |
287 { ngx_string("X-Powered-By"), | |
288 ngx_http_upstream_ignore_header_line, 0, | |
289 ngx_http_upstream_copy_header_line, 0, 0 }, | |
290 | |
291 { ngx_string("X-Accel-Expires"), | 287 { ngx_string("X-Accel-Expires"), |
292 ngx_http_upstream_process_accel_expires, 0, | 288 ngx_http_upstream_process_accel_expires, 0, |
293 ngx_http_upstream_copy_header_line, 0, 0 }, | 289 ngx_http_upstream_copy_header_line, 0, 0 }, |
294 | 290 |
295 { ngx_string("X-Accel-Redirect"), | 291 { ngx_string("X-Accel-Redirect"), |