Update sites.inc
This commit is contained in:
@@ -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" ] && sites=$(find -s ${gosite}/*${SEARCH,,}*.conf) || sites=$(find -s ${gosite}/*.conf)
|
[ "${SEARCH}" != "0" ] && sites=$(find -q ${gosite}/*${SEARCH,,}*.conf) || sites=$(find -q ${gosite}/*.conf)
|
||||||
if [ "${sites}" != "" ]; then
|
if [ "${sites}" != "" ]; then
|
||||||
i=1
|
i=1
|
||||||
for sitefile in ${sites[@]}; do
|
for sitefile in ${sites[@]}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user