Zero-downtime delivery · 5 / 10 ·
Caddy holds the public port
Caddy listens on :8080. The route has an @id so the playbook can patch the upstream without rewriting the whole config.
One route, one upstream
Before the switch, dial points at 127.0.0.1:18080. After the switch, the same route points at 127.0.0.1:18081. Readers do not change URL.
- Caddy points at blue on :18080.
- The same route now points at green on :18081.
The route must already exist before the first deploy. The playbook patches that route; it does not invent it quietly.