mirror of
https://github.com/Such-Software/wowcheckout.git
synced 2026-10-17 05:51:45 +02:00
With a variable upstream ($ui_upstream, added for docker-DNS re-resolution), a trailing-slash URI in proxy_pass makes nginx forward '/' to the UI for every sub-path, so /_next/static/*.css and /i/<invoice> all return the app index HTML (200 text/html) -> the UI renders unstyled and client routing breaks. Omit the URI to preserve the full request path, matching the /api/ block.