From 361166adc70667b95806f680ae50f4375036347c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 8 Jul 2023 23:48:25 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/sites.inc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index b829da85..dfd573a5 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,5 +1,5 @@ -VERS='4.9.6-07062023' +VERS='4.9.7-07062023' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/sites.inc b/inc/sites.inc index 3906e2c9..04b568b6 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -340,8 +340,9 @@ NEWSITE(){ if [ "${SECURE}" == "yes" ]; then SECURE="include conf.d\/include\/secure-access.conf;" - ssh root@${NM_SINGLESRVR_IP['WEB']} sed -ie "/domain: # Proxies only requiring username and password/a ~~~ - \"${MAIN_SITE}\"" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml - ssh root@${NM_SINGLESRVR_IP['WEB']} sed -i "s/~~~/ /g" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml + ssh root@${NM_SINGLESRVR_IP['WEB']} "sed -ie \"/domain: # Proxies only requiring username and password/a ~~~ - \\\"${MAIN_SITE}\\\"\" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml" + ssh root@${NM_SINGLESRVR_IP['WEB']} "sed -i \"s/~~~/ /g\" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml" + else SECURE=""