Update sites.inc

This commit is contained in:
2023-12-02 14:00:22 -06:00
parent 93d07196e5
commit b0ceb5e78c

View File

@@ -560,7 +560,7 @@ SITEINFO(){
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
declare -A SITELIST
if [ "${gosite}" != "" ]; then
[ "${SEARCH}" != "0" ] && siteslist="${gosite}/*${SEARCH,,}*.conf" || siteslist="${gosite}/*.conf"
[ "${SEARCH}" != "0" ] && siteslist=${gosite}/*${SEARCH,,}*.conf || siteslist=${gosite}/*.conf
if [ -f ${siteslist} ]; then
sites=$(find ${siteslist})