caddy reload --config /etc/caddy/Caddyfile

Category: Web Servers & Proxies

caddy reload --config /etc/caddy/Caddyfile

Reload Caddy config without downtime

Pushes the current Caddyfile through the admin API so Caddy swaps to the new configuration while keeping existing connections alive. Only valid for a Caddy started with caddy run, which enables the admin endpoint. Validate the file first with caddy validate.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.