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'