From fa2130940fa18dab67672d450477d0ea70e0435a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 Nov 2023 13:49:47 -0600 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 a8d566ce..d0baceb6 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -634,7 +634,7 @@ SITEINFO(){ gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled declare -A SITELIST if [ "${gosite}" != "" ]; then - sites=$(find ${gosite}/h*.conf); i=0 + sites=$(find ${gosite}/*.conf); i=0 if [ "${1}" == "" ] || ([ "${1}" == "edit" ] && [ "${2}" == "" ]); then for sitefile in ${sites[@]}; do site=${sitefile##*/}; site=${site/.conf/} @@ -663,7 +663,7 @@ SITEINFO(){ port=${port##* }; port=${port%;*} proxyhost="${scheme}://${server}:${port}" else - proxyhost="custom Proxy_pass" + proxyhost="[ custom proxy_pass ]" fi else type='HTTP'