Cut the edge over from nginx and certbot to Caddy
Caddy takes nginx's place in compose: ports 80/443, the fixed address 172.28.255.251 that cloudflared pins the public names to, the network aliases, the healthcheck and the autoheal label. nginx and certbot are removed from compose; Caddy already holds its own certificates in ./caddy/data, obtained while it ran beside nginx. `traffic` now tails logs/caddy/payloads.log, and the dev override switches Caddy to its dev sites instead of putting nginx in DEV_MODE. Docs and comments that described nginx's behaviour now describe Caddy's: CLAUDE.md, DEPLOYMENT.md (topology, boot paths, TLS, rate limits, runbook with a rollback, rough edges), the READMEs, .env.example and the comments in the backend, Python service, Vue source and infra files. nginx/ and certbot/ stay in the repo as the rollback until this has settled. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+7
-5
@@ -32,11 +32,13 @@
|
||||
# Dev stack:
|
||||
# caddy/edge_test.sh https://localhost -k
|
||||
#
|
||||
# COMPARING TWO EDGES (the nginx -> Caddy cutover)
|
||||
# Run it against each and diff the output:
|
||||
# caddy/edge_test.sh https://www.$DOMAIN --resolve www.$DOMAIN:443:127.0.0.1 >nginx.txt
|
||||
# caddy/edge_test.sh https://www.$DOMAIN:8443 --resolve www.$DOMAIN:8443:127.0.0.1 >caddy.txt
|
||||
# diff nginx.txt caddy.txt
|
||||
# COMPARING TWO EDGES
|
||||
# Run it against each and diff the output. This is how Caddy was checked
|
||||
# against nginx before the 2026-11-17 cutover (Caddy on 8443 beside nginx),
|
||||
# and how a big change to caddy/ can be checked against the running edge:
|
||||
# caddy/edge_test.sh https://www.$DOMAIN --resolve www.$DOMAIN:443:127.0.0.1 >before.txt
|
||||
# caddy/edge_test.sh https://www.$DOMAIN:8443 --resolve www.$DOMAIN:8443:127.0.0.1 >after.txt
|
||||
# diff before.txt after.txt
|
||||
# Every remaining difference should be one that was intended.
|
||||
#
|
||||
# NOTHING HERE WRITES. Every request is a GET, apart from one POST to
|
||||
|
||||
Reference in New Issue
Block a user