This commit is contained in:
2023-07-08 23:48:25 -05:00
parent a4620e8a84
commit 361166adc7
2 changed files with 4 additions and 3 deletions

View File

@@ -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=""