diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2005-08-19 08:54:17 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2005-08-19 08:54:17 +0000 |
| commit | 559814049f137c819308937d543a33432e0e2280 (patch) | |
| tree | b6169bb826ea100e22152dca9b85567839666037 /src/http/modules/ngx_http_proxy_module.c | |
| parent | f6c7d898a8115a411391a371ef8d70ff528fbdcc (diff) | |
| download | nginx-559814049f137c819308937d543a33432e0e2280.tar.gz nginx-559814049f137c819308937d543a33432e0e2280.tar.bz2 | |
nginx-0.1.41-RELEASE importrelease-0.1.41
*) Bugfix: if the variable was used in the configuration file, then it
can not be used in SSI.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 92605e060..8288df1c4 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -320,19 +320,19 @@ static ngx_table_elt_t ngx_http_proxy_headers[] = { static ngx_http_variable_t ngx_http_proxy_vars[] = { { ngx_string("proxy_host"), ngx_http_proxy_host_variable, 0, - NGX_HTTP_VAR_CHANGABLE }, + NGX_HTTP_VAR_CHANGABLE, 0 }, { ngx_string("proxy_port"), ngx_http_proxy_port_variable, 0, - NGX_HTTP_VAR_CHANGABLE }, + NGX_HTTP_VAR_CHANGABLE, 0 }, { ngx_string("proxy_add_x_forwarded_for"), - ngx_http_proxy_add_x_forwarded_for_variable, 0, 0 }, + ngx_http_proxy_add_x_forwarded_for_variable, 0, 0, 0 }, #if 0 - { ngx_string("proxy_add_via"), NULL, 0, 0 }, + { ngx_string("proxy_add_via"), NULL, 0, 0, 0 }, #endif - { ngx_null_string, NULL, 0, 0 } + { ngx_null_string, NULL, 0, 0, 0 } }; |
