# HG changeset patch # User Igor Sysoev # Date 1248696372 0 # Node ID b630e7d095b3d82bfe0240ce567bb3392b76c1e6 # Parent bf0c7e58e016692056a7a3d721929c0231f80970 allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect", "X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset" diff -r bf0c7e58e016 -r b630e7d095b3 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Mon Jul 27 11:51:12 2009 +0000 +++ b/src/http/ngx_http_upstream.c Mon Jul 27 12:06:12 2009 +0000 @@ -224,19 +224,19 @@ { ngx_string("X-Accel-Redirect"), ngx_http_upstream_process_header_line, offsetof(ngx_http_upstream_headers_in_t, x_accel_redirect), - ngx_http_upstream_ignore_header_line, 0, 0 }, + ngx_http_upstream_copy_header_line, 0, 0 }, { ngx_string("X-Accel-Limit-Rate"), ngx_http_upstream_process_limit_rate, 0, - ngx_http_upstream_ignore_header_line, 0, 0 }, + ngx_http_upstream_copy_header_line, 0, 0 }, { ngx_string("X-Accel-Buffering"), ngx_http_upstream_process_buffering, 0, - ngx_http_upstream_ignore_header_line, 0, 0 }, + ngx_http_upstream_copy_header_line, 0, 0 }, { ngx_string("X-Accel-Charset"), ngx_http_upstream_process_charset, 0, - ngx_http_upstream_ignore_header_line, 0, 0 }, + ngx_http_upstream_copy_header_line, 0, 0 }, #if (NGX_HTTP_GZIP) { ngx_string("Content-Encoding"),