initial migration commit

This commit is contained in:
Gorden Mende
2020-07-06 15:56:01 +02:00
parent b664e72a31
commit fa673cc5f8
6 changed files with 338 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
if [ $1 ]
then
systemctl stop nginx
/root/certbot/certbot-auto certonly --standalone --preferred-challenges http -d $1
systemctl start nginx
else
echo "Usage: create_new_cert.sh <newdomain.fqdn>"
fi