This commit is contained in:
voltron committed 2023-05-24 23:17:19 -05:00
1 parent d278795725
commit 1b4997c7a0
2 files changed
+9 -1

No files matched your search

+8 -1
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/}