update
This commit is contained in:
@@ -37,6 +37,7 @@ PWDOCKER=uptime-kuma
|
||||
#LBDOCKER=nginx-proxy_manager
|
||||
|
||||
LB_NGINX_SITES='/opt/lb-data/nginx/sites-enabled'
|
||||
WEB_NGINX_SITES='/mnt/web-data/nginx/sites-enabled'
|
||||
|
||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck '
|
||||
CERT_DAEMON='/snap/bin/certbot'
|
||||
|
||||
@@ -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