diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2014-12-26 16:22:59 +0300 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2014-12-26 16:22:59 +0300 |
| commit | 843fb552ecf53836b5205bec26513cba46ca59f8 (patch) | |
| tree | c688bb50c8b0f7693ff2197fd7b75546769593de /src/http/ngx_http_cache.h | |
| parent | 1858857c25dc38be78b2f008c9f496246a8f8c9f (diff) | |
| download | nginx-843fb552ecf53836b5205bec26513cba46ca59f8.tar.gz nginx-843fb552ecf53836b5205bec26513cba46ca59f8.tar.bz2 | |
Upstream: use_temp_path parameter of proxy_cache_path and friends.
When set to "off", temporary files for cacheable responses will be stored
inside cache directory.
Diffstat (limited to 'src/http/ngx_http_cache.h')
| -rw-r--r-- | src/http/ngx_http_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 4b8ebddda..27322b0af 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -155,6 +155,9 @@ struct ngx_http_file_cache_s { ngx_msec_t loader_threshold; ngx_shm_zone_t *shm_zone; + + ngx_uint_t use_temp_path; + /* unsigned use_temp_path:1 */ }; |
