Ensure cache files remain active for a while

This commit is contained in:
Jake Howard 2024-01-14 16:14:43 +00:00
parent 9ba8a505fc
commit 87cac3fecb
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,4 +1,4 @@
proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nginxcache:10m max_size=150m;
proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=nginxcache:10m max_size=150m inactive=24h;
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp_path;