easy-certbot/new-domain

10 lines
135 B
Text
Raw Normal View History

2021-11-24 17:19:17 +00:00
#!/usr/bin/env sh
2021-11-24 17:01:49 +00:00
CMD="certbot certonly --webroot -w /var/www/html"
for domain in "$@"; do
CMD="$CMD -d $domain"
done
eval $CMD