Revert "[ssr] accept 301 and 302 as valid for nginx cache"

This commit is contained in:
nymkappa 2026-07-27 21:48:20 +02:00 committed by GitHub
parent 87f14d25f5
commit 2c3af53943
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 301 302 5m; # will re-render page if older than this
proxy_cache_valid 200 5m; # will re-render page if older than this
proxy_redirect off;
expires 5m;