update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
VERS='4.9.5-07062023'
|
VERS='4.9.6-07062023'
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns '
|
||||||
CERT_DAEMON='/snap/bin/certbot'
|
CERT_DAEMON='/snap/bin/certbot'
|
||||||
|
|||||||
@@ -286,6 +286,7 @@ NEWSITE(){
|
|||||||
SECURE=no
|
SECURE=no
|
||||||
elif [[ ${SECURE} =~ ^[Yy]$ ]]; then
|
elif [[ ${SECURE} =~ ^[Yy]$ ]]; then
|
||||||
SECURE=yes
|
SECURE=yes
|
||||||
|
|
||||||
else
|
else
|
||||||
SECURE=no
|
SECURE=no
|
||||||
fi
|
fi
|
||||||
@@ -333,8 +334,15 @@ NEWSITE(){
|
|||||||
[ "${WEBSOCKET}" == "yes" ] && WEBSOCKET="include conf.d\/include\/websocket-support.conf;" || WEBSOCKET=""
|
[ "${WEBSOCKET}" == "yes" ] && WEBSOCKET="include conf.d\/include\/websocket-support.conf;" || WEBSOCKET=""
|
||||||
[ "${HSTS}" == "yes" ] && HSTS="include conf.d\/include\/hsts-support.conf;" || HSTS=""
|
[ "${HSTS}" == "yes" ] && HSTS="include conf.d\/include\/hsts-support.conf;" || HSTS=""
|
||||||
[ "${EXPLOITS}" == "yes" ] && EXPLOITS="include conf.d\/include\/block-exploits.conf;" || EXPLOITS=""
|
[ "${EXPLOITS}" == "yes" ] && EXPLOITS="include conf.d\/include\/block-exploits.conf;" || EXPLOITS=""
|
||||||
[ "${SECURE}" == "yes" ] && SECURE="include conf.d\/include\/secure-access.conf;" || SECURE=""
|
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
|
||||||
|
else
|
||||||
|
SECURE=""
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
######################################### LOCAL
|
######################################### LOCAL
|
||||||
if [ "${SITE_TYPE}" = "local" ]; then
|
if [ "${SITE_TYPE}" = "local" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user