diff --git a/root/letsencrypt.sh b/root/letsencrypt.sh index c55e4f8..c2216e5 100755 --- a/root/letsencrypt.sh +++ b/root/letsencrypt.sh @@ -1,3 +1,3 @@ #!/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 +/usr/bin/certbot --nginx certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD -d REPLACEME.TLD,www.REPLACEME.tld,mail.REPLACEME.tld