sysadmin/certify.sh

8 lines
97 B
Bash
Raw Permalink Normal View History

2020-07-27 18:48:29 +02:00
DOMAIN=$1
systemctl stop nginx
certbot certonly --standalone -d $DOMAIN
systemctl start nginx