[ssr] accept 404 as valid status for static images caching

This commit is contained in:
nymkappa 2026-07-03 19:20:09 +09:00
parent f3ef789d32
commit 0265ffa9ac
No known key found for this signature in database
GPG key ID: A7895A957BA87DBA

View file

@ -258,6 +258,7 @@ location @mempool-space-static {
proxy_cache_use_stale updating;
proxy_cache unfurler;
proxy_cache_valid 200 5m; # will re-render page if older than this
proxy_cache_valid 404 30s; # will re-render page if older than this
proxy_redirect off;
expires 1d;