Hostityourself/infra
Claude a8b22d8e2d
fix: switch to Caddy JSON config so dynamic routes work correctly
The Caddyfile created a server with an auto-generated name, not 'hiy',
so build.sh's PUT to /config/apps/http/servers/hiy/routes was creating
a parallel server that never received traffic.

- Replace Caddyfile with caddy.json that names the server 'hiy' with
  the dashboard as a catch-all fallback route
- Insert app routes at index 0 so host-matched routes are evaluated
  before the catch-all dashboard fallback
- Update docker-compose to mount caddy.json and pass --config flag
2026-03-19 11:02:57 +00:00
..
docker-compose.yml fix: switch to Caddy JSON config so dynamic routes work correctly 2026-03-19 11:02:57 +00:00
Dockerfile.server fix: use musl static linking to eliminate glibc version dependency 2026-03-19 10:48:46 +00:00