Mercurial > hg > nginx-vendor-1-0
diff src/http/ngx_http_upstream.c @ 504:c178dbab489a NGINX_0_8_4
nginx 0.8.4
*) Bugfix: nginx could not be built --without-http-cache; the bug had
appeared in 0.8.3.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 22 Jun 2009 00:00:00 +0400 |
parents | f0cac61857ae |
children | e8b686f230a8 |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -318,10 +318,14 @@ static ngx_http_variable_t ngx_http_ups ngx_http_upstream_response_length_variable, 0, NGX_HTTP_VAR_NOHASH|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 }, +#endif + { ngx_null_string, NULL, NULL, 0, 0, 0 } };