diff --git a/caddy/includes/remove-staging.sh b/caddy/includes/remove-staging.sh new file mode 100644 index 0000000..9b506f3 --- /dev/null +++ b/caddy/includes/remove-staging.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Remove acme-staging CA from Caddyfile, so Caddy gets production certs + +sed -ri.bak 's/acme_ca/#acme_ca/' /usr/local/www/Caddyfile +service caddy reload