update
This commit is contained in:
@@ -449,7 +449,14 @@ VIEWSITEINFO(){
|
||||
|
||||
echo -e "${idsCL[LightGreen]}Site Information ${idsCL[Default]}"
|
||||
|
||||
sites=$(find ${LB_NGINX_SITES}/*); i=0
|
||||
if [ "${1}" == "lb" ]; then
|
||||
gosite=${LB_NGINX_SITES}
|
||||
elif [ "${1}" == "web" ]; then
|
||||
gosite=${WEB_NGINX_SITES}
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
sites=$(find ${gosite}/*); i=0
|
||||
for sitefile in ${sites[@]}; do
|
||||
site=${sitefile##*/}; site=${site/.conf/}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user