Update sites.inc

This commit is contained in:
2023-11-11 00:25:38 -06:00
parent bb75018d2d
commit f210d7af3a

View File

@@ -382,6 +382,7 @@ NEWSITE(){
break
fi
done
echo "HERE: ${SECURE}"
if [ "${SECURE}" == "2FA" ]; then
ssh root@${NM_AUTHELIA_IP} "sed -ie \"/domain: # Proxies needing 2 factor below/a ~~~ - \\\"${MAIN_SITE}\\\"\" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml"
else