comparison src/http/modules/ngx_http_proxy_module.c @ 1925:6fd26b0e1009

non cacheable $proxy_host and $proxy_port
author Igor Sysoev <igor@sysoev.ru>
date Tue, 11 Mar 2008 14:10:11 +0000
parents 68b426b43c31
children 7018254cc006
comparison
equal deleted inserted replaced
1924:291689a7e5dc 1925:6fd26b0e1009
442 442
443 443
444 static ngx_http_variable_t ngx_http_proxy_vars[] = { 444 static ngx_http_variable_t ngx_http_proxy_vars[] = {
445 445
446 { ngx_string("proxy_host"), NULL, ngx_http_proxy_host_variable, 0, 446 { ngx_string("proxy_host"), NULL, ngx_http_proxy_host_variable, 0,
447 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOHASH, 0 }, 447 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_NOHASH, 0 },
448 448
449 { ngx_string("proxy_port"), NULL, ngx_http_proxy_port_variable, 0, 449 { ngx_string("proxy_port"), NULL, ngx_http_proxy_port_variable, 0,
450 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOHASH, 0 }, 450 NGX_HTTP_VAR_CHANGEABLE|NGX_HTTP_VAR_NOCACHEABLE|NGX_HTTP_VAR_NOHASH, 0 },
451 451
452 { ngx_string("proxy_add_x_forwarded_for"), NULL, 452 { ngx_string("proxy_add_x_forwarded_for"), NULL,
453 ngx_http_proxy_add_x_forwarded_for_variable, 0, NGX_HTTP_VAR_NOHASH, 0 }, 453 ngx_http_proxy_add_x_forwarded_for_variable, 0, NGX_HTTP_VAR_NOHASH, 0 },
454 454
455 #if 0 455 #if 0