Skip to content

Commit 1e0807b

Browse files
authored
Merge pull request #2 from pior-labs/agent/align-split-horizon-hostnames
Align template docs with split-horizon DNS
2 parents e325e71 + 5d82dd8 commit 1e0807b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ Vite proxies `/api/*` to the local API during development.
5656

5757
Production routing belongs to the platform Caddy instance managed by `platform-deploy`.
5858

59+
Each application uses one canonical `<app>.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.
60+
5961
The expected pattern is:
6062

6163
```text
62-
<app>.szarans.ca / <app>.ts.szarans.ca
64+
<app>.szarans.ca
6365
|
6466
v
6567
platform Caddy
@@ -71,6 +73,8 @@ platform Caddy
7173
SPA files only
7274
```
7375

76+
Separate `.ts.szarans.ca` application hostnames are no longer used.
77+
7478
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.
7579

7680
## Database

0 commit comments

Comments
 (0)