server-configs/root/letsencrypt.sh

4 lines
208 B
Bash
Raw Normal View History

#!/usr/bin/env bash
/usr/bin/certbot certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD --webroot -w /srv/http/REPLACEME.TLD/public -d REPLACEME.TLD,www.REPLACEME.tld,mail.REPLACEME.tld