caddyserver / pkl-adapter

Configure Caddy with Pkl format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pkl Config Adapter for Caddy

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

Install with xcaddy.

xcaddy build \
    --with github.com/caddyserver/pkl-adapter

Usage

Specify with the --adapter flag for caddy run.

caddy run --config /path/to/pkl/config.pkl --adapter pkl

About

Configure Caddy with Pkl format

License:Apache License 2.0


Languages

Language:Go 100.0%