mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
ops: Add /api/v1/accelerations to nginx hot cache
This commit is contained in:
parent
af7a962a0b
commit
544261eafe
@ -9,6 +9,7 @@ heat()
|
|||||||
|
|
||||||
heatURLs=(
|
heatURLs=(
|
||||||
'/api/v1/fees/recommended'
|
'/api/v1/fees/recommended'
|
||||||
|
'/api/v1/accelerations'
|
||||||
)
|
)
|
||||||
|
|
||||||
while true
|
while true
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
# routing #
|
# routing #
|
||||||
###########
|
###########
|
||||||
|
|
||||||
|
location /api/v1/accelerations {
|
||||||
|
try_files /dev/null @mempool-api-v1-services-cache-short;
|
||||||
|
}
|
||||||
location /api/v1/assets {
|
location /api/v1/assets {
|
||||||
try_files /dev/null @mempool-api-v1-services-cache-short;
|
try_files /dev/null @mempool-api-v1-services-cache-short;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user