stuff/os/FreeBSD/Bastille/Caddy.md
2025-04-14 21:32:16 +02:00

691 B

Caddy

bastille create caddy 14.2-RELEASE 192.168.1.200 genet0
bastille pkg caddy bootstrap
bastille pkg caddy update
bastille pkg caddy install -y caddy

After installing Caddy you see some instructions. To reshow them:

bastille pkg caddy info -D caddy

Edit the Caddyfile:

bastille pkg caddy install -y tmux neovim
bastille console caddy
tmux
nvim /usr/local/etc/caddy/Caddyfile

Start the service.

bastille service caddy caddy enable
bastille service caddy caddy start

See the logs:

bastille cmd caddy cat /var/log/caddy/caddy.log

To quickly look at the caddyfile:

bastille cmd caddy cat /usr/local/etc/caddy/Caddyfile