From 655eb311073a6142771147adccffb3ad849e720c Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 19 Aug 2023 23:27:08 +0900 Subject: [PATCH] ops: Tweak nginx cache valid time for unfurler/slurper --- production/nginx/server-common.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/production/nginx/server-common.conf b/production/nginx/server-common.conf index 3406e3450..97d7a84c9 100644 --- a/production/nginx/server-common.conf +++ b/production/nginx/server-common.conf @@ -136,7 +136,7 @@ location @mempool-space-unfurler { proxy_cache_background_update on; proxy_cache_use_stale updating; proxy_cache unfurler; - proxy_cache_valid 200 10m; + proxy_cache_valid 200 30d; proxy_redirect off; } @@ -151,6 +151,6 @@ location @mempool-space-slurper { proxy_cache_background_update on; proxy_cache_use_stale updating; proxy_cache slurper; - proxy_cache_valid 200 10m; + proxy_cache_valid 200 365d; proxy_redirect off; }