Mercurial > hg > nginx
comparison src/http/modules/ngx_http_proxy_module.c @ 533:d6e48c08d718 release-0.1.41
nginx-0.1.41-RELEASE import
*) Bugfix: if the variable was used in the configuration file, then it
can not be used in SSI.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 19 Aug 2005 08:54:17 +0000 |
parents | e5d7d0334fdb |
children | 371c1cee100d |
comparison
equal
deleted
inserted
replaced
532:6fadb47f2d26 | 533:d6e48c08d718 |
---|---|
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("/"); |