mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
add mod_secure
This commit is contained in:
+2
-2
@@ -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!'
|
||||
|
||||
Reference in New Issue
Block a user