Update sites.inc

This commit is contained in:
2023-11-11 19:37:30 -06:00
parent 0edb56bf7e
commit b4de0e6860

View File

@@ -582,7 +582,7 @@ SITEINFO(){
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
declare -A SITELIST
if [ "${gosite}" != "" ]; then
sites=$(find ${gosite}/w*.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/}