mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Merge pull request #6612 from mempool/nymkappa/update-nginx-ssr-cache-error-code
[ssr] accept 301 and 302 as valid for nginx cache
This commit is contained in:
commit
3926741560
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue