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:
+1
-1
@@ -25,7 +25,7 @@
|
||||
# with the same credentials and the backend needs no change.
|
||||
# 4. Grants that key read+write on the bucket. garage-webui also browses
|
||||
# with it: it borrows the first key that has access to a bucket.
|
||||
# 5. Opens the bucket on the website endpoint, which is what nginx serves
|
||||
# 5. Opens the bucket on the website endpoint, which is what Caddy serves
|
||||
# /uploads/ from, anonymously.
|
||||
#
|
||||
# ENV / .env
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
# garage/bootstrap.sh imports); garage-webui browses through it.
|
||||
# 3901 RPC between Garage nodes. Only this node talks to itself.
|
||||
# 3902 Website endpoint. Serves a bucket ANONYMOUSLY, choosing it from the
|
||||
# Host header: "<bucket><root_domain>", so nginx's /uploads/ location
|
||||
# Host header: "<bucket><root_domain>", so Caddy's /uploads/ route
|
||||
# sends `Host: uploads.web.garage`. Only buckets that bootstrap.sh
|
||||
# opened with `garage bucket website --allow` are served.
|
||||
# 3903 Admin API, used by garage-webui and authenticated by admin_token.
|
||||
|
||||
Reference in New Issue
Block a user