aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
caddy |
public |
2023-12-25 15:14:43 -0800 |
2023-12-25 15:14:43 -0800 |
false |
20231225231443 |
false |
false |
|
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!