diff --git a/neode-ui/docker/nginx-demo.conf b/neode-ui/docker/nginx-demo.conf index 123dd4eb..63723fde 100644 --- a/neode-ui/docker/nginx-demo.conf +++ b/neode-ui/docker/nginx-demo.conf @@ -122,29 +122,9 @@ http { sub_filter 'url(/' 'url(/app/indeedhub/'; } - # Mempool: same approach. mempool.guide (not mempool.space, which blocks - # proxied embedding) — strip framing headers and rewrite absolute paths. - location /app/mempool/ { - proxy_pass https://mempool.guide/; - proxy_http_version 1.1; - proxy_set_header Host mempool.guide; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - proxy_read_timeout 3600; - proxy_set_header Accept-Encoding ""; - proxy_ssl_server_name on; - proxy_hide_header X-Frame-Options; - proxy_hide_header Content-Security-Policy; - proxy_hide_header Content-Security-Policy-Report-Only; - sub_filter_types text/html text/css application/javascript application/json; - sub_filter_once off; - sub_filter 'href="/' 'href="/app/mempool/'; - sub_filter 'src="/' 'src="/app/mempool/'; - sub_filter "href='/" "href='/app/mempool/"; - sub_filter "src='/" "src='/app/mempool/"; - sub_filter 'from"/' 'from"/app/mempool/'; - sub_filter 'url(/' 'url(/app/mempool/'; - } + # Mempool is NOT proxied upstream anymore — the mock backend serves a + # branded placeholder page for it (see DEMO_APP_PAGES in mock-backend.js), + # so /app/mempool/ falls through to the generic /app/ location below. # Proxy every other app UI (/app//) to the mock backend, which serves # the per-app mock UIs (bitcoin-ui, electrumx, lnd, fedimint) and the