diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2011-04-21 10:07:07 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2011-04-21 10:07:07 +0000 |
| commit | 64efecc2b5e6824422703a4fd5106c70d4704ef0 (patch) | |
| tree | b02297d73bd136f350b40455ff72e3049d3bb5a9 | |
| parent | 423ee58e76ebb2b444358a3ff6422b7fee7437e0 (diff) | |
| download | nginx-64efecc2b5e6824422703a4fd5106c70d4704ef0.tar.gz nginx-64efecc2b5e6824422703a4fd5106c70d4704ef0.tar.bz2 | |
allow to use $upstream_... variables in SSI
| -rw-r--r-- | src/http/ngx_http_upstream.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index dc2d0c0fe..914d72c84 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -313,25 +313,25 @@ static ngx_http_variable_t ngx_http_upstream_vars[] = { { ngx_string("upstream_addr"), NULL, ngx_http_upstream_addr_variable, 0, - NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, + NGX_HTTP_VAR_NOCACHEABLE, 0 }, { ngx_string("upstream_status"), NULL, ngx_http_upstream_status_variable, 0, - NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, + NGX_HTTP_VAR_NOCACHEABLE, 0 }, { ngx_string("upstream_response_time"), NULL, ngx_http_upstream_response_time_variable, 0, - NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, + NGX_HTTP_VAR_NOCACHEABLE, 0 }, { ngx_string("upstream_response_length"), NULL, ngx_http_upstream_response_length_variable, 0, - NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, + NGX_HTTP_VAR_NOCACHEABLE, 0 }, #if (NGX_HTTP_CACHE) { ngx_string("upstream_cache_status"), NULL, ngx_http_upstream_cache_status, 0, - NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, + NGX_HTTP_VAR_NOCACHEABLE, 0 }, #endif |
