Files
cameleer-saas/docker-compose.yml
hsiegeln 9f3faf4816
All checks were successful
CI / build (push) Successful in 1m17s
CI / docker (push) Successful in 18s
fix(traefik): set Logto router priority=1 to prevent route hijacking
Traefik auto-calculates router priority from rule string length. When
deployed with a domain longer than 23 chars (e.g. app.cameleer.io),
Host(`app.cameleer.io`) (25 chars) outranks PathPrefix(`/platform`)
(23 chars), causing ALL requests — including /platform/* — to route
to Logto instead of the SaaS app. This breaks login because the sign-in
UI loads without an OIDC interaction session.

Setting priority=1 makes Logto a true catch-all, matching the intent
documented in docker/CLAUDE.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-25 08:50:16 +02:00

7.8 KiB