Document canonical Caddy migration
This commit is contained in:
@@ -293,8 +293,8 @@ deploy_caddy() {
|
||||
# Retire the old split proxy before claiming ports 80/443. This is
|
||||
# idempotent and leaves the old unit recoverable in the target trash.
|
||||
retire_legacy_gitea_caddy
|
||||
podman-compose -f dankclaw/compose.yaml up -d --no-deps caddy
|
||||
if podman container exists caddy; then
|
||||
podman-compose -f dankclaw/compose.yaml up -d --no-deps caddy
|
||||
local reloaded=0
|
||||
for _ in 1 2 3 4 5; do
|
||||
if podman exec caddy caddy reload --config /etc/caddy/Caddyfile \
|
||||
@@ -309,8 +309,6 @@ deploy_caddy() {
|
||||
echo "Caddy reload failed; restarting only caddy."
|
||||
podman restart caddy
|
||||
fi
|
||||
else
|
||||
echo "WARN: caddy container is absent; no proxy was stopped or replaced."
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user