Update sites.inc

This commit is contained in:
2023-11-11 23:43:21 -06:00
parent 235a8da273
commit 7c064f56e6

View File

@@ -595,7 +595,7 @@ SITEINFO(){
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
declare -A SITELIST
if [ "${gosite}" != "" ]; then
sites=$(find ${gosite}/*.conf); i=0
sites=$(find ${gosite}/w*.conf); i=0
if [ "${1}" == "" ] || ([ "${1}" == "edit" ] && [ "${2}" == "" ]); then
for sitefile in ${sites[@]}; do
site=${sitefile##*/}; site=${site/.conf/}