caddy-retired/scripts/convert

4 lines
116 B
Plaintext
Raw Normal View History

2020-05-12 14:51:19 -07:00
#!/bin/bash
CONF=${1:-caddy}
/opt/caddy/caddy adapt --config /opt/caddy/$CONF.conf --adapter caddyfile > caddy.json