Added cert bin, changed default ssl location for template

This commit is contained in:
root
2020-01-09 04:35:33 -05:00
parent 35b7825969
commit 8c66613e32
7 changed files with 36 additions and 28 deletions
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose exec litespeed su -c "certbot certonly --agree-tos --register-unsafely-without-email --webroot -w /var/www/vhosts/${1}/html -d ${1} -d www.${1}"
echo OLS needs to be restarted to detect the certificates