Installation on Arch Linux
sudo pacman -S caddy installs the binary and a systemd service from the official extra repository — no AUR required. Enable and start it with sudo systemctl enable --now caddy.
Configuration
The service reads /etc/caddy/Caddyfile. After editing it, apply changes with sudo systemctl reload caddy, which reloads the configuration without dropping connections.
Certificates and state
Automatically issued TLS certificates and Caddy's state are stored under /var/lib/caddy. Preserve this directory across reinstalls to avoid re-issuing certificates and hitting rate limits.