koopa-admin-log/scripts/caddy/README.md

428 B

Caddy on koopa

Live: /etc/caddy/Caddyfile.
Mirror: configs/caddy/Caddyfile (same as host/caddy/Caddyfile).

Reload after edit

sudo caddy validate --config /etc/caddy/Caddyfile
sudo systemctl reload caddy

New HTTPS vhost

Add a site block to the Caddyfile (live + mirror), then validate and reload. Include the host in the shared HTTP site list (ACME + redirect) at the bottom of the file.