mirror of
https://github.com/nginx/nginx.git
synced 2026-06-09 08:57:35 -04:00
fix building --without-http-cache, broken in r2953
This commit is contained in:
parent
7ae6e18c84
commit
704462ac85
1 changed files with 4 additions and 0 deletions
|
|
@ -318,10 +318,14 @@ static ngx_http_variable_t ngx_http_upstream_vars[] = {
|
|||
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 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue