add mod_secure

This commit is contained in:
Cold-Egg
2020-01-17 16:09:55 -05:00
parent f1f8d1dae5
commit 1310d02c10
6 changed files with 186 additions and 16 deletions
+2 -2
View File
@@ -44,10 +44,10 @@ domain_verify(){
lecertapply(){
if [ ${TYPE} = 1 ]; then
docker-compose exec litespeed su -c "certbot certonly --agree-tos --register-unsafely-without-email \
docker-compose exec ${CONT_NAME} su -c "certbot certonly --agree-tos --register-unsafely-without-email \
--non-interactive --webroot -w /var/www/vhosts/${1}/html -d ${1}"
elif [ ${TYPE} = 2 ]; then
docker-compose exec litespeed su -c "certbot certonly --agree-tos --register-unsafely-without-email \
docker-compose exec ${CONT_NAME} su -c "certbot certonly --agree-tos --register-unsafely-without-email \
--non-interactive --webroot -w /var/www/vhosts/${1}/html -d ${1} -d www.${1}"
else
echo 'unknown Type!'