Loading nginx/snippets/cache-definition.conf +8 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ map $http_host $proxy_cache_zone { hostnames; atlas.* atlas_cache; redmic.* redmic_cache; default off; } Loading @@ -25,6 +26,7 @@ map $http_host $proxy_cache_bypass_value { map $http_host $cache_control_value { hostnames; atlas.* "max-age=864000"; redmic.* "max-age=86400"; default "no-cache"; } Loading @@ -33,3 +35,9 @@ proxy_cache_path /var/nginx/atlas_cache keys_zone=atlas_cache:100m inactive=24h max_size=5g; proxy_cache_path /var/nginx/redmic_cache levels=1:2 keys_zone=redmic_cache:50m inactive=24h max_size=1g; Loading
nginx/snippets/cache-definition.conf +8 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ map $http_host $proxy_cache_zone { hostnames; atlas.* atlas_cache; redmic.* redmic_cache; default off; } Loading @@ -25,6 +26,7 @@ map $http_host $proxy_cache_bypass_value { map $http_host $cache_control_value { hostnames; atlas.* "max-age=864000"; redmic.* "max-age=86400"; default "no-cache"; } Loading @@ -33,3 +35,9 @@ proxy_cache_path /var/nginx/atlas_cache keys_zone=atlas_cache:100m inactive=24h max_size=5g; proxy_cache_path /var/nginx/redmic_cache levels=1:2 keys_zone=redmic_cache:50m inactive=24h max_size=1g;