Update sites.inc
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user