UI - basic read fixes

This commit is contained in:
bunkerity
2020-12-11 17:03:43 +01:00
parent e6b5f460c9
commit 3a3d527907
8 changed files with 36 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ if [ "$MULTISITE" = "yes" ] ; then
for server in $servers ; do
SERVER_PREFIX="/etc/nginx/${server}/"
if grep "/etc/letsencrypt/live" ${SERVER_PREFIX}https.conf > /dev/null && [ ! -f /etc/letsencrypt/live/${server}/fullchain.pem ] ; then
/opt/scripts/certbot-new.sh "$1" "$(cat ${SERVER_PREFIX}email-lets-encrypt.txt)"
/opt/scripts/certbot-new.sh "$server" "$(cat ${SERVER_PREFIX}email-lets-encrypt.txt)"
fi
if grep "modsecurity.conf" ${SERVER_PREFIX}server.conf > /dev/null ; then
modsec_custom=""