6 Commits
Author SHA1 Message Date
jwinterm 3e672f8323 fix(nginx): drop trailing slash on variable ui proxy_pass
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.
2026-07-16 09:02:44 -04:00
jwinterm ac87dea273 fix: preserve public HTTPS checkout links 2026-07-16 08:50:07 -04:00
jwinterm 416cb3416b fix: preserve Greenfield API request paths 2026-07-16 08:17:12 -04:00
jwinterm b34a32c433 fix: nginx — re-resolve upstream hostname via Docker DNS
Mirror of wowcheckout e0c349a. Same bug would bite xmrcheckout after any api container rebuild — nginx caches IP at startup and never re-resolves, so a rebuild that gives the api container a new IP leaves nginx 502'ing until manually restarted. Use 'resolver 127.0.0.11 valid=10s' + variable-based proxy_pass so nginx re-resolves every ~10s via Docker's internal DNS.
2026-04-19 16:09:09 -04:00
jwinterm 47cd52686a Remove TLS from nginx — NPM handles TLS on LAN 2026-03-10 11:32:16 -04:00
xmrcheckout 5e0ca00af2 Add docker-compose.yml and friends 2026-01-04 17:57:07 +01:00