2 Commits

Author SHA1 Message Date
Dodo e238b41fec Fix Caddy routing: split API paths to backend, avoid /auth/login route collision
POST /auth/login was returning 405 because Next.js's filesystem page
route at /auth/login (the login UI) shadows the afterFiles rewrite to
the backend for every method, including POST. Route API paths (and
non-GET/HEAD /auth/* requests) directly to the backend container at the
Caddy layer instead, leaving GET/HEAD /auth/login to render the
frontend login page.
2026-06-13 11:13:47 +07:00
Dodo 70a3975ed0 Add production deployment config (Caddy + docker compose) 2026-06-13 10:40:16 +07:00