Skip to content

How to recover Caddy

bash
systemctl status caddy --no-pager
journalctl -u caddy -n 80 --no-pager
sudo caddy validate --config /etc/caddy/Caddyfile
sudo systemctl restart caddy
curl -sI https://cloud.cadenceworks.tech | head -5

If reload fails after an edit, restore the last known good file under /etc/caddy/ backups and restart.

Reference: Caddy.

Northeast Systems · Aux Server · Infra Server