From 04259cf7c3c3635f66d53087f4e54e38caeccd9e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 11 Nov 2023 12:10:34 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- inc/sites.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 83d9ef4a..8d313161 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash # VERS='4.12.120-11102023' -VERS='4.12.127-KYLEUPGRADEv3' +VERS='4.12.128-KYLEUPGRADEv3' noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update ' CERT_DAEMON='/snap/bin/certbot' diff --git a/inc/sites.inc b/inc/sites.inc index 14f4dc80..d9a8e485 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -224,7 +224,7 @@ NEWSITE(){ if [[ ${overwrite} =~ ^[Nn]$ ]] || [ "${overwrite}" = "" ]; then exit 0 elif [[ ${overwrite} =~ ^[Yy]$ ]]; then - rm -f ${NM_NGINXPATH}/sites-enabled/${DEL_SITE}* >/dev/null 2>&1 + rm -f ${nginxconfig} >/dev/null 2>&1 [ "${NM_AUTHELIA_IP}" != "" ] && ssh root@${NM_AUTHELIA_IP} sed -i "/${MAIN_SITE}/d" ${NM_DOCKER_COMPOSE_LOC['authelia']}/config/configuration.yml else exit 0