From 7739126eeb5498eeb8710d70d5d0da664b24bcb9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 20 Jul 2023 21:06:20 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 17d94c62..3a66d928 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -110,10 +110,10 @@ DELSITES(){ echo -e "${idsCL[Red]}Select a site to delete...${idsCL[Default]}" DIVIDER true sid=1 - filels="( $(ssh root@${WEB_HOSTS[0]} ls ${NM_NGINXPATH}/sites-available/*) )" + # filels="( $(ssh root@${WEB_HOSTS[0]} ls ${NM_NGINXPATH}/sites-enabled/*) )" # IFS='\n' for siteconf in $filels; do - # for siteconf in ${NM_NGINXPATH}/sites-available/* ; do + for siteconf in ${NM_NGINXPATH}/sites-enabled/* ; do # [ -e "$siteconf" ] || continue if [ ${siteconf:0:1} == '/' ]; then IFS='/'; site_conf=(${siteconf}); unset IFS