ops: Add test networks to nginx warm cache
Some checks are pending
Backend Integration Tests with MariaDB / Backend Integration Tests - node 24.13.0 (push) Waiting to run
CI Pipeline for the Backend and Frontend / Backend (dev) - node 24.13.0 (push) Waiting to run
CI Pipeline for the Backend and Frontend / Backend (prod) - node 24.13.0 (push) Waiting to run
CI Pipeline for the Backend and Frontend / Cache assets for builds (push) Waiting to run
CI Pipeline for the Backend and Frontend / Frontend (dev) - node 24.13.0 (push) Blocked by required conditions
CI Pipeline for the Backend and Frontend / Frontend (prod) - node 24.13.0 (push) Blocked by required conditions
CI Pipeline for the Backend and Frontend / E2E tests for liquid (push) Blocked by required conditions
CI Pipeline for the Backend and Frontend / E2E tests for mempool (push) Blocked by required conditions
CI Pipeline for the Backend and Frontend / E2E tests for testnet4 (push) Blocked by required conditions
CI Pipeline for the Backend and Frontend / Validate generated backend Docker JSON (push) Waiting to run
Supply Chain Audit / Backend install-script audit (push) Waiting to run
Supply Chain Audit / Frontend install-script audit (push) Waiting to run

This commit is contained in:
wiz 2026-07-14 13:01:51 +09:00
parent 90667112a3
commit ba5c2ff1ad
No known key found for this signature in database
GPG key ID: A394E332255A6173
6 changed files with 18 additions and 13 deletions

View file

@ -175,6 +175,9 @@ do
for url in $warmURLs
do
warm "https://${hostname}${url}"
warm "https://${hostname}/testnet${url}"
warm "https://${hostname}/testnet4${url}"
warm "https://${hostname}/signet${url}"
sleep $delay # delay between queries to not DoS mariadb
done

View file

@ -90,8 +90,8 @@ location @mempool-liquid-api-v1-cache-warm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_background_update off;
proxy_cache_use_stale error;
proxy_cache_background_update on;
proxy_cache_use_stale updating;
proxy_cache apiwarm;
proxy_cache_valid 200 10s;
proxy_redirect off;

View file

@ -94,10 +94,10 @@ location @mempool-liquidtestnet-api-v1-cache-warm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_background_update off;
proxy_cache_use_stale error;
proxy_cache_background_update on;
proxy_cache_use_stale updating;
proxy_cache apiwarm;
proxy_cache_valid 200 10s;
proxy_cache_valid 200 30s;
proxy_redirect off;
}

View file

@ -100,8 +100,8 @@ location @mempool-signet-api-v1-cache-warm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_background_update off;
proxy_cache_use_stale error;
proxy_cache_background_update on;
proxy_cache_use_stale updating;
proxy_cache apiwarm;
proxy_cache_valid 200 10s;
proxy_redirect off;

View file

@ -100,11 +100,13 @@ location @mempool-testnet-api-v1-cache-warm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_background_update off;
proxy_cache_use_stale error;
proxy_cache_background_update on;
proxy_cache_use_stale updating;
proxy_cache apiwarm;
proxy_cache_valid 200 10s;
proxy_cache_valid 200 30s;
proxy_redirect off;
expires 120s;
}
location @mempool-testnet-api-v1-cache-normal {

View file

@ -100,10 +100,10 @@ location @mempool-testnet4-api-v1-cache-warm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_background_update off;
proxy_cache_use_stale error;
proxy_cache_background_update on;
proxy_cache_use_stale updating;
proxy_cache apiwarm;
proxy_cache_valid 200 10s;
proxy_cache_valid 200 30s;
proxy_redirect off;
}