File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ CACHE_MAX_SIZE=${CACHE_MAX_SIZE:-32g}
102
102
103
103
# The cache directory. This can get huge. Better to use a Docker volume pointing here!
104
104
# Set to 32gb which should be enough
105
- echo " proxy_cache_path /docker_mirror_cache levels=1:2 max_size=$CACHE_MAX_SIZE min_free=${CACHE_MIN_FREE:- 0 } inactive=${CACHE_INACTIVE_TIME:- 60d} keys_zone=cache:10m use_temp_path=off manager_threshold=${CACHE_MANAGER_THRESHOLD:- 1000ms} manager_sleep=${CACHE_MANAGER_SLEEP:- 250ms} manager_files=${CACHE_MANAGER_FILES:- 100} loader_files=${CACHE_LOADER_FILES:- 100} loader_threshold=${CACHE_LOADER_THRESHOLD:- 200ms} loader_sleep=${CACHE_MANAGER_SLEEP:- 50ms} ;" > /etc/nginx/conf.d/cache_max_size.conf
105
+ echo " proxy_cache_path /docker_mirror_cache levels=1:2 max_size=$CACHE_MAX_SIZE min_free=${CACHE_MIN_FREE:- 1g } inactive=${CACHE_INACTIVE_TIME:- 60d} keys_zone=cache:10m use_temp_path=off manager_threshold=${CACHE_MANAGER_THRESHOLD:- 1000ms} manager_sleep=${CACHE_MANAGER_SLEEP:- 250ms} manager_files=${CACHE_MANAGER_FILES:- 100} loader_files=${CACHE_LOADER_FILES:- 100} loader_threshold=${CACHE_LOADER_THRESHOLD:- 200ms} loader_sleep=${CACHE_MANAGER_SLEEP:- 50ms} ;" > /etc/nginx/conf.d/cache_max_size.conf
106
106
107
107
# Manifest caching configuration. We generate config based on the environment vars.
108
108
echo -n " " > /etc/nginx/nginx.manifest.caching.config.conf
You can’t perform that action at this time.
0 commit comments