Root cause of the still-broken Bitcoin UI after #81: nginx regex locations beat prefix locations, so /app/**/*.css|js|png|jpg|svg matched the static-cache block and was served (404) from the web root instead of being proxied to the mock backend. ^~ on the /app/ prefixes fixes it. Validated with nginx -t.
Root cause of the still-broken Bitcoin UI after #81: nginx regex locations beat prefix locations, so `/app/**/*.css|js|png|jpg|svg` matched the static-cache block and was served (404) from the web root instead of being proxied to the mock backend. `^~` on the `/app/` prefixes fixes it. Validated with `nginx -t`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
nginx regex locations outrank prefix locations, so app-shell assets like
/app/bitcoin-core/tailwind.css and /app/lnd/qrcode.js hit the .css/.js
cache block and 404'd from the web root instead of proxying to the mock
backend — the actual cause of the unstyled Bitcoin UI (and the shabby
lnd-ui) on the demo. ^~ on the /app/ prefixes disables regex matching
for those paths. Config validated with nginx -t.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ai
merged commit eaf8b7b63e into main2026-07-15 08:45:44 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Root cause of the still-broken Bitcoin UI after #81: nginx regex locations beat prefix locations, so
/app/**/*.css|js|png|jpg|svgmatched the static-cache block and was served (404) from the web root instead of being proxied to the mock backend.^~on the/app/prefixes fixes it. Validated withnginx -t.🤖 Generated with Claude Code