mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
ops: Set cache time for /api/v1 endpoints to 2 sec
This commit is contained in:
parent
0fb92e6ebb
commit
39bde61538
1 changed files with 2 additions and 2 deletions
|
|
@ -97,10 +97,10 @@ location @mempool-api-v1-cache-normal {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
proxy_cache api;
|
||||
proxy_cache_valid 200 10s;
|
||||
proxy_cache_valid 200 2s;
|
||||
proxy_redirect off;
|
||||
|
||||
expires 10s;
|
||||
expires 2s;
|
||||
}
|
||||
|
||||
location @mempool-api-v1-cache-disabled {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue