initial migration commit
This commit is contained in:
Executable
+9
@@ -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
|
||||
Reference in New Issue
Block a user