This commit is contained in:
2023-05-24 23:17:19 -05:00
parent d278795725
commit 1b4997c7a0
2 changed files with 9 additions and 1 deletions

View File

@@ -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/}