Skip to content

Commit 72bc07e

Browse files
committed
Update nginx configuration to set inactive cache duration to 365 days
1 parent 02358b5 commit 72bc07e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ http {
1616
access_log /dev/stdout cache;
1717
error_log /dev/stderr warn;
1818

19-
proxy_cache_path /var/cache/nginx/owlery levels=1:2 keys_zone=owlery_cache:100m max_size=${CACHE_MAX_SIZE} inactive=5d use_temp_path=off;
19+
proxy_cache_path /var/cache/nginx/owlery levels=1:2 keys_zone=owlery_cache:100m max_size=${CACHE_MAX_SIZE} inactive=365d use_temp_path=off;
2020

2121
proxy_cache_key "$request_method$request_uri";
2222
proxy_cache_min_uses 1;

0 commit comments

Comments
 (0)