ops: Add /api/v1/accelerations to nginx hot cache

This commit is contained in:
wiz 2024-07-24 13:31:56 -05:00
parent af7a962a0b
commit 544261eafe
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ heat()
heatURLs=( heatURLs=(
'/api/v1/fees/recommended' '/api/v1/fees/recommended'
'/api/v1/accelerations'
) )
while true while true

View File

@ -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;
} }