mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect",
"X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
This commit is contained in:
parent
365d663cc2
commit
7335dfa4b6
@ -224,19 +224,19 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = {
|
|||||||
{ ngx_string("X-Accel-Redirect"),
|
{ ngx_string("X-Accel-Redirect"),
|
||||||
ngx_http_upstream_process_header_line,
|
ngx_http_upstream_process_header_line,
|
||||||
offsetof(ngx_http_upstream_headers_in_t, x_accel_redirect),
|
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_string("X-Accel-Limit-Rate"),
|
||||||
ngx_http_upstream_process_limit_rate, 0,
|
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_string("X-Accel-Buffering"),
|
||||||
ngx_http_upstream_process_buffering, 0,
|
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_string("X-Accel-Charset"),
|
||||||
ngx_http_upstream_process_charset, 0,
|
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)
|
#if (NGX_HTTP_GZIP)
|
||||||
{ ngx_string("Content-Encoding"),
|
{ ngx_string("Content-Encoding"),
|
||||||
|
Loading…
Reference in New Issue
Block a user