From a595bb44f9f0e6afd15bb039651cd863e13fb916 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Fri, 3 Jul 2026 17:51:18 +0900 Subject: [PATCH] [ssr] accept 301 and 302 as valid for nginx cache --- production/nginx/server-common.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/nginx/server-common.conf b/production/nginx/server-common.conf index 5532076ec..27cde5d19 100644 --- a/production/nginx/server-common.conf +++ b/production/nginx/server-common.conf @@ -217,7 +217,7 @@ location @mempool-space-ssr { proxy_cache_background_update on; proxy_cache_use_stale updating; proxy_cache unfurler; - proxy_cache_valid 200 5m; # will re-render page if older than this + proxy_cache_valid 200 301 302 5m; # will re-render page if older than this proxy_redirect off; expires 5m;