diff src/http/ngx_http_cache.h @ 5960:e9effef98874

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.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 26 Dec 2014 16:22:59 +0300
parents f7584d7c0ccb
children 99639bfdfa2a
line wrap: on
line diff
--- 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 */
 };