1
0
Fork 0
docker-easy-haproxy/assets/scripts/certbot.sh
2022-08-15 00:34:45 +00:00

17 lines
458 B
Bash
Executable file

#!/usr/bin/env bash
@todo
ln -sf /dev/stdout /var/log/letsencrypt/letsencrypt.log
certbot certonly \
--standalone \
--preferred-challenges http \
--http-01-port 2080 \
--agree-tos \
--issuance-timeout 90 \
--no-eff-email \
--non-interactive \
--max-log-backups=0 \
--post-hook "/scripts/certbot_to_haproxy.sh && systemctl reload haproxy.service"
-d dev.globalnetguide.com -d other.domain.com --email info@xpto.us