ops: Set cache time for /api/v1 endpoints to 2 sec
This commit is contained in:
parent
0fb92e6ebb
commit
39bde61538
@ -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…
x
Reference in New Issue
Block a user