Update sites.inc
This commit is contained in:
1 parent
93d07196e5
commit
b0ceb5e78c
1 file changed
+1
-1
+1
-1
@@ -560,7 +560,7 @@ SITEINFO(){
|
|||||||
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
|
gosite=${NM_NGINXPATH[${RUN_NODE_TYPE}]}/sites-enabled
|
||||||
declare -A SITELIST
|
declare -A SITELIST
|
||||||
if [ "${gosite}" != "" ]; then
|
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
|
if [ -f ${siteslist} ]; then
|
||||||
sites=$(find ${siteslist})
|
sites=$(find ${siteslist})
|
||||||
|
|||||||
Reference in new issue
Block a user