Files
2025-08-12 17:49:48 +05:30
..
2025-08-12 14:55:06 +05:30
2025-08-12 17:49:48 +05:30
2025-08-12 14:55:06 +05:30

Caddy

Caddy is used to terminate TLS and manage certificates for custom domains.

Installation

sudo mkdir -p /root/caddy/conf
sudo mv Caddyfile /root/caddy/conf
sudo chown root:root /root/caddy/conf/Caddyfile

Rest of it works like our other systemd services.

If the Caddyfile changes, the running instance can be updated without restarts by using sudo systemctl reload caddy.

Backups

The entire /root/caddy directory can be backed up and contains the everything needed to resurrect the same setup.