diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-07-27 12:06:12 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-07-27 12:06:12 +0000 |
| commit | 7335dfa4b628ba30018605d570bbc9fd89934d3f (patch) | |
| tree | 21edec826d5a769d9bf0b518640d25dbbebbfc2f /src | |
| parent | 365d663cc2f1bcb68052a330226ec207f46bbff6 (diff) | |
| download | nginx-7335dfa4b628ba30018605d570bbc9fd89934d3f.tar.gz nginx-7335dfa4b628ba30018605d570bbc9fd89934d3f.tar.bz2 | |
allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect",
"X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index cc303b431..e37019609 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -224,19 +224,19 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = { { 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"), |
