comparison src/http/modules/ngx_http_proxy_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
317 NULL }, 317 NULL },
318 318
319 #if (NGX_HTTP_CACHE) 319 #if (NGX_HTTP_CACHE)
320 320
321 { ngx_string("proxy_cache"), 321 { ngx_string("proxy_cache"),
322 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 322 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
323 ngx_http_proxy_cache, 323 ngx_http_proxy_cache,
324 NGX_HTTP_LOC_CONF_OFFSET, 324 NGX_HTTP_LOC_CONF_OFFSET,
325 0, 325 0,
326 NULL }, 326 NULL },
327 327
328 { ngx_string("proxy_cache_key"), 328 { ngx_string("proxy_cache_key"),
329 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 329 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
330 ngx_http_proxy_cache_key, 330 ngx_http_proxy_cache_key,
331 NGX_HTTP_LOC_CONF_OFFSET, 331 NGX_HTTP_LOC_CONF_OFFSET,
332 0, 332 0,
333 NULL }, 333 NULL },
334 334
410 NGX_HTTP_LOC_CONF_OFFSET, 410 NGX_HTTP_LOC_CONF_OFFSET,
411 offsetof(ngx_http_proxy_loc_conf_t, upstream.next_upstream), 411 offsetof(ngx_http_proxy_loc_conf_t, upstream.next_upstream),
412 &ngx_http_proxy_next_upstream_masks }, 412 &ngx_http_proxy_next_upstream_masks },
413 413
414 { ngx_string("proxy_pass_header"), 414 { ngx_string("proxy_pass_header"),
415 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 415 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
416 ngx_conf_set_str_array_slot, 416 ngx_conf_set_str_array_slot,
417 NGX_HTTP_LOC_CONF_OFFSET, 417 NGX_HTTP_LOC_CONF_OFFSET,
418 offsetof(ngx_http_proxy_loc_conf_t, upstream.pass_headers), 418 offsetof(ngx_http_proxy_loc_conf_t, upstream.pass_headers),
419 NULL }, 419 NULL },
420 420
421 { ngx_string("proxy_hide_header"), 421 { ngx_string("proxy_hide_header"),
422 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 422 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
423 ngx_conf_set_str_array_slot, 423 ngx_conf_set_str_array_slot,
424 NGX_HTTP_LOC_CONF_OFFSET, 424 NGX_HTTP_LOC_CONF_OFFSET,
425 offsetof(ngx_http_proxy_loc_conf_t, upstream.hide_headers), 425 offsetof(ngx_http_proxy_loc_conf_t, upstream.hide_headers),
426 NULL }, 426 NULL },
427 427