ops: Set HTTP expires header for warm cache mining APIs
This commit is contained in:
parent
70548ed532
commit
d15e2ada42
@ -121,6 +121,8 @@ location @mempool-api-v1-cache-warm {
|
|||||||
proxy_cache apiwarm;
|
proxy_cache apiwarm;
|
||||||
proxy_cache_valid 200 10s;
|
proxy_cache_valid 200 10s;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
|
expires 120s;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @mempool-api-v1-cache-normal {
|
location @mempool-api-v1-cache-normal {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user