comparison src/http/modules/ngx_http_fastcgi_module.c @ 3729:4b773fc06336

fix directive type
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Aug 2010 12:47:52 +0000
parents e40453e6931b
children 72cc5b789021
comparison
equal deleted inserted replaced
3728:a29bb11f8c80 3729:4b773fc06336
308 NULL }, 308 NULL },
309 309
310 #if (NGX_HTTP_CACHE) 310 #if (NGX_HTTP_CACHE)
311 311
312 { ngx_string("fastcgi_cache"), 312 { ngx_string("fastcgi_cache"),
313 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 313 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
314 ngx_http_fastcgi_cache, 314 ngx_http_fastcgi_cache,
315 NGX_HTTP_LOC_CONF_OFFSET, 315 NGX_HTTP_LOC_CONF_OFFSET,
316 0, 316 0,
317 NULL }, 317 NULL },
318 318
319 { ngx_string("fastcgi_cache_key"), 319 { ngx_string("fastcgi_cache_key"),
320 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 320 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
321 ngx_http_fastcgi_cache_key, 321 ngx_http_fastcgi_cache_key,
322 NGX_HTTP_LOC_CONF_OFFSET, 322 NGX_HTTP_LOC_CONF_OFFSET,
323 0, 323 0,
324 NULL }, 324 NULL },
325 325
408 NGX_HTTP_LOC_CONF_OFFSET, 408 NGX_HTTP_LOC_CONF_OFFSET,
409 offsetof(ngx_http_fastcgi_loc_conf_t, params_source), 409 offsetof(ngx_http_fastcgi_loc_conf_t, params_source),
410 NULL }, 410 NULL },
411 411
412 { ngx_string("fastcgi_pass_header"), 412 { ngx_string("fastcgi_pass_header"),
413 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 413 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
414 ngx_conf_set_str_array_slot, 414 ngx_conf_set_str_array_slot,
415 NGX_HTTP_LOC_CONF_OFFSET, 415 NGX_HTTP_LOC_CONF_OFFSET,
416 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.pass_headers), 416 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.pass_headers),
417 NULL }, 417 NULL },
418 418
419 { ngx_string("fastcgi_hide_header"), 419 { ngx_string("fastcgi_hide_header"),
420 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 420 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
421 ngx_conf_set_str_array_slot, 421 ngx_conf_set_str_array_slot,
422 NGX_HTTP_LOC_CONF_OFFSET, 422 NGX_HTTP_LOC_CONF_OFFSET,
423 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.hide_headers), 423 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.hide_headers),
424 NULL }, 424 NULL },
425 425