comparison src/http/modules/ngx_http_proxy_module.c @ 82:2aa14f638cf0 NGINX_0_1_41

nginx 0.1.41 *) Bugfix: if the variable was used in the configuration file, then it can not be used in SSI.
author Igor Sysoev <http://sysoev.ru>
date Mon, 25 Jul 2005 00:00:00 +0400
parents 9db7e0b5b27f
children e916a291e9aa
comparison
equal deleted inserted replaced
81:4e854e6d1986 82:2aa14f638cf0
318 318
319 319
320 static ngx_http_variable_t ngx_http_proxy_vars[] = { 320 static ngx_http_variable_t ngx_http_proxy_vars[] = {
321 321
322 { ngx_string("proxy_host"), ngx_http_proxy_host_variable, 0, 322 { ngx_string("proxy_host"), ngx_http_proxy_host_variable, 0,
323 NGX_HTTP_VAR_CHANGABLE }, 323 NGX_HTTP_VAR_CHANGABLE, 0 },
324 324
325 { ngx_string("proxy_port"), ngx_http_proxy_port_variable, 0, 325 { ngx_string("proxy_port"), ngx_http_proxy_port_variable, 0,
326 NGX_HTTP_VAR_CHANGABLE }, 326 NGX_HTTP_VAR_CHANGABLE, 0 },
327 327
328 { ngx_string("proxy_add_x_forwarded_for"), 328 { ngx_string("proxy_add_x_forwarded_for"),
329 ngx_http_proxy_add_x_forwarded_for_variable, 0, 0 }, 329 ngx_http_proxy_add_x_forwarded_for_variable, 0, 0, 0 },
330 330
331 #if 0 331 #if 0
332 { ngx_string("proxy_add_via"), NULL, 0, 0 }, 332 { ngx_string("proxy_add_via"), NULL, 0, 0, 0 },
333 #endif 333 #endif
334 334
335 { ngx_null_string, NULL, 0, 0 } 335 { ngx_null_string, NULL, 0, 0, 0 }
336 }; 336 };
337 337
338 338
339 #if (NGX_PCRE) 339 #if (NGX_PCRE)
340 static ngx_str_t ngx_http_proxy_uri = ngx_string("/"); 340 static ngx_str_t ngx_http_proxy_uri = ngx_string("/");