Update sites.inc
This commit is contained in:
1 parent
d07e4f70fe
commit
0d141184cb
1 file changed
+1
-1
+1
-1
@@ -225,7 +225,7 @@ NEWSITE(){
|
|||||||
exit 0
|
exit 0
|
||||||
elif [[ ${overwrite} =~ ^[Yy]$ ]]; then
|
elif [[ ${overwrite} =~ ^[Yy]$ ]]; then
|
||||||
rm -f ${NM_NGINXPATH}/sites-enabled/${DEL_SITE}* >/dev/null 2>&1
|
rm -f ${NM_NGINXPATH}/sites-enabled/${DEL_SITE}* >/dev/null 2>&1
|
||||||
[ "${NM_AUTHELIA_IP}" != "" ] && ssh root@${NM_AUTHELIA_IP} sed -i "/${DEL_SITE}/d" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml
|
[ "${NM_AUTHELIA_IP}" != "" ] && ssh root@${NM_AUTHELIA_IP} sed -i "/${MAIN_SITE}/d" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user