From cf80a70e1030f3c12e9b19e34e4f9ee9e2f72629 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 3 Nov 2003 22:20:44 +0000 Subject: nginx-0.0.1-2003-11-04-01:20:44 import --- src/http/modules/proxy/ngx_http_proxy_header.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/http/modules/proxy/ngx_http_proxy_header.c') diff --git a/src/http/modules/proxy/ngx_http_proxy_header.c b/src/http/modules/proxy/ngx_http_proxy_header.c index 18e27976a..4dda797bf 100644 --- a/src/http/modules/proxy/ngx_http_proxy_header.c +++ b/src/http/modules/proxy/ngx_http_proxy_header.c @@ -26,6 +26,12 @@ int ngx_http_proxy_copy_header(ngx_http_proxy_ctx_t *p, || &h[i] == headers_in->accept_ranges) { continue; } + + if (&h[i] == headers_in->x_accel_expires + && !p->lcf->pass_x_accel_expires) + { + continue; + } if (&h[i] == headers_in->server && !p->lcf->pass_server) { continue; -- cgit v1.2.3