This plugin allows you to use Pkl to configure Caddy.
REQUIREMENTS: This package uses Apple's official Go bindings, which spawns a child process, so the pkl
command must be installed on your system.
Install with xcaddy.
xcaddy build \
--with github.com/caddyserver/pkl-adapter
Specify with the --adapter
flag for caddy run
.
caddy run --config /path/to/pkl/config.pkl --adapter pkl