Caddy: check Caddyfile with adapt/validate
Before reload, it is useful to see how Caddy adapts the Caddyfile.
sudo caddy validate --config /etc/caddy/Caddyfile
sudo caddy adapt --config /etc/caddy/Caddyfile --pretty | less
sudo systemctl reload caddy
Verify the result
Validate should pass; after reload inspect the caddy journal.