diff --git a/README.md b/README.md index b31cf9f..c9cde46 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,12 @@ Vite proxies `/api/*` to the local API during development. Production routing belongs to the platform Caddy instance managed by `platform-deploy`. +Each application uses one canonical `.szarans.ca` hostname. The same hostname is used from the trusted LAN and through Tailscale; split-horizon DNS returns the appropriate private address for the client's network context. + The expected pattern is: ```text -.szarans.ca / .ts.szarans.ca +.szarans.ca | v platform Caddy @@ -71,6 +73,8 @@ platform Caddy SPA files only ``` +Separate `.ts.szarans.ca` application hostnames are no longer used. + The Caddy process inside the web container is deliberately not a reverse proxy. It only serves the compiled Vite application and falls back to `index.html` for client-side routes. API routing, domains, TLS, and ingress remain platform responsibilities. ## Database