Mercurial > hg > nginx
comparison src/http/modules/ngx_http_scgi_module.c @ 3729:4b773fc06336
fix directive type
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Aug 2010 12:47:52 +0000 |
parents | b0a0686a85bb |
children | 72cc5b789021 |
comparison
equal
deleted
inserted
replaced
3728:a29bb11f8c80 | 3729:4b773fc06336 |
---|---|
174 NULL }, | 174 NULL }, |
175 | 175 |
176 #if (NGX_HTTP_CACHE) | 176 #if (NGX_HTTP_CACHE) |
177 | 177 |
178 { ngx_string("scgi_cache"), | 178 { ngx_string("scgi_cache"), |
179 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 179 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
180 ngx_http_scgi_cache, | 180 ngx_http_scgi_cache, |
181 NGX_HTTP_LOC_CONF_OFFSET, | 181 NGX_HTTP_LOC_CONF_OFFSET, |
182 0, | 182 0, |
183 NULL }, | 183 NULL }, |
184 | 184 |
185 { ngx_string("scgi_cache_key"), | 185 { ngx_string("scgi_cache_key"), |
186 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 186 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
187 ngx_http_scgi_cache_key, | 187 ngx_http_scgi_cache_key, |
188 NGX_HTTP_LOC_CONF_OFFSET, | 188 NGX_HTTP_LOC_CONF_OFFSET, |
189 0, | 189 0, |
190 NULL }, | 190 NULL }, |
191 | 191 |
274 NGX_HTTP_LOC_CONF_OFFSET, | 274 NGX_HTTP_LOC_CONF_OFFSET, |
275 offsetof(ngx_http_scgi_loc_conf_t, params_source), | 275 offsetof(ngx_http_scgi_loc_conf_t, params_source), |
276 NULL }, | 276 NULL }, |
277 | 277 |
278 { ngx_string("scgi_pass_header"), | 278 { ngx_string("scgi_pass_header"), |
279 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 279 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
280 ngx_conf_set_str_array_slot, | 280 ngx_conf_set_str_array_slot, |
281 NGX_HTTP_LOC_CONF_OFFSET, | 281 NGX_HTTP_LOC_CONF_OFFSET, |
282 offsetof(ngx_http_scgi_loc_conf_t, upstream.pass_headers), | 282 offsetof(ngx_http_scgi_loc_conf_t, upstream.pass_headers), |
283 NULL }, | 283 NULL }, |
284 | 284 |
285 { ngx_string("scgi_hide_header"), | 285 { ngx_string("scgi_hide_header"), |
286 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 286 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, |
287 ngx_conf_set_str_array_slot, | 287 ngx_conf_set_str_array_slot, |
288 NGX_HTTP_LOC_CONF_OFFSET, | 288 NGX_HTTP_LOC_CONF_OFFSET, |
289 offsetof(ngx_http_scgi_loc_conf_t, upstream.hide_headers), | 289 offsetof(ngx_http_scgi_loc_conf_t, upstream.hide_headers), |
290 NULL }, | 290 NULL }, |
291 | 291 |