diff --git a/core/archipelago/src/container/bitcoin_ui_nginx.conf.template b/core/archipelago/src/container/bitcoin_ui_nginx.conf.template index 0a5d5173..6e7e2bdb 100644 --- a/core/archipelago/src/container/bitcoin_ui_nginx.conf.template +++ b/core/archipelago/src/container/bitcoin_ui_nginx.conf.template @@ -63,5 +63,14 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; add_header Cache-Control "no-store"; } - location / { try_files $uri $uri/ /index.html; } + # no-cache so a rebuilt image is actually seen. Without this nginx sends + # only ETag/Last-Modified for index.html, and browsers apply heuristic + # caching to it — so an OTA that ships a new bitcoin-ui kept rendering the + # previous UI until the user hard-refreshed. docker/lnd-ui/nginx.conf has + # carried the same header for this reason. "no-cache" (revalidate), not + # "no-store", so the ETag still saves the transfer when nothing changed. + location / { + add_header Cache-Control "no-cache"; + try_files $uri $uri/ /index.html; + } } diff --git a/scripts/image-versions.sh b/scripts/image-versions.sh index 83d55076..3d4e92e4 100644 --- a/scripts/image-versions.sh +++ b/scripts/image-versions.sh @@ -117,7 +117,7 @@ PENPOT_EXPORTER_IMAGE="$ARCHY_REGISTRY/penpot-exporter:2.4" PENPOT_FRONTEND_IMAGE="$ARCHY_REGISTRY/penpot-frontend:2.4" # Custom UI containers (built from docker/ dirs, pushed to registry) -BITCOIN_UI_IMAGE="$ARCHY_REGISTRY/bitcoin-ui:1.7.84-alpha" +BITCOIN_UI_IMAGE="$ARCHY_REGISTRY/bitcoin-ui:1.7.119-alpha" LND_UI_IMAGE="$ARCHY_REGISTRY/lnd-ui:latest" ELECTRS_UI_IMAGE="$ARCHY_REGISTRY/electrs-ui:latest"