caddy-retired/scripts/convert

4 lines
116 B
Bash
Executable File

#!/bin/bash
CONF=${1:-caddy}
/opt/caddy/caddy adapt --config /opt/caddy/$CONF.conf --adapter caddyfile > caddy.json