aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-02 09:25:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-07-02 09:25:38 +0000
commit7e14b50c289ede7ac0b268a82ee896e3e294b4cd (patch)
tree294b93cb7b51f9ad56072b5976b6b12967b98933 /src/http/modules/ngx_http_fastcgi_module.c
parent187538d1ebc25341ad611ba8d26b42b3e2e9de67 (diff)
downloadnginx-7e14b50c289ede7ac0b268a82ee896e3e294b4cd.tar.gz
nginx-7e14b50c289ede7ac0b268a82ee896e3e294b4cd.zip
use shared ngx_http_upstream_ignore_headers_masks[]
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index e5d2af0b8..36967e9db 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -183,15 +183,6 @@ static ngx_conf_bitmask_t ngx_http_fastcgi_next_upstream_masks[] = {
};
-static ngx_conf_bitmask_t ngx_http_fastcgi_ignore_headers_masks[] = {
- { ngx_string("X-Accel-Redirect"), NGX_HTTP_UPSTREAM_IGN_XA_REDIRECT },
- { ngx_string("X-Accel-Expires"), NGX_HTTP_UPSTREAM_IGN_XA_EXPIRES },
- { ngx_string("Expires"), NGX_HTTP_UPSTREAM_IGN_EXPIRES },
- { ngx_string("Cache-Control"), NGX_HTTP_UPSTREAM_IGN_CACHE_CONTROL },
- { ngx_null_string, 0 }
-};
-
-
ngx_module_t ngx_http_fastcgi_module;
@@ -430,7 +421,7 @@ static ngx_command_t ngx_http_fastcgi_commands[] = {
ngx_conf_set_bitmask_slot,
NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_fastcgi_loc_conf_t, upstream.ignore_headers),
- &ngx_http_fastcgi_ignore_headers_masks },
+ &ngx_http_upstream_ignore_headers_masks },
{ ngx_string("fastcgi_catch_stderr"),
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,