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