Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 617 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 617 Bytes

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