Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 733 Bytes

quick-caddy-reload.md

File metadata and controls

32 lines (28 loc) · 733 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
quick-caddy-reload
caddy
public
2023-12-25 15:14:43 -0800
2023-12-25 15:14:43 -0800
false
20231225231443
false
false
caddy
docker
reload
Quick Caddy Reload
tech-note

You can reload your Caddyfile with no downtime (need to confirm that), and without restarting Caddy by running caddy reload.

I only ever run Caddy from a Docker container, in which case I just run the below.

docker exec --workdir /etc/caddy --interactive --tty <caddy-container-name> caddy reload

I always just used to stop and start Caddy... Quick though that is, it pays to read the docs!