15 lines
428 B
Markdown
15 lines
428 B
Markdown
# Caddy on koopa
|
|
|
|
Live: **`/etc/caddy/Caddyfile`**.
|
|
Mirror: **`configs/caddy/Caddyfile`** (same as `host/caddy/Caddyfile`).
|
|
|
|
## Reload after edit
|
|
|
|
```bash
|
|
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.
|