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 | |
| parent | f6c7d898a8115a411391a371ef8d70ff528fbdcc (diff) | |
| download | nginx-release-0.1.41.tar.gz nginx-release-0.1.41.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 '')
| -rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 10 | ||||
| -rw-r--r-- | src/http/modules/ngx_http_ssi_filter_module.c | 6 |
2 files changed, 8 insertions, 8 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 } }; diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index bf9c12411..6507105e3 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -278,12 +278,12 @@ static ngx_http_ssi_command_t ngx_http_ssi_commands[] = { static ngx_http_variable_t ngx_http_ssi_vars[] = { { ngx_string("date_local"), ngx_http_ssi_date_gmt_local_variable, 0, - NGX_HTTP_VAR_NOCACHABLE }, + NGX_HTTP_VAR_NOCACHABLE, 0 }, { ngx_string("date_gmt"), ngx_http_ssi_date_gmt_local_variable, 1, - NGX_HTTP_VAR_NOCACHABLE }, + NGX_HTTP_VAR_NOCACHABLE, 0 }, - { ngx_null_string, NULL, 0, 0 } + { ngx_null_string, NULL, 0, 0, 0 } }; |
