mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Merge pull request #6614 from mempool/nymkappa/ssr-static-image-404-cache
[ssr] accept 404 as valid status for static images caching
This commit is contained in:
commit
c659cf1d25
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue