Update sites.inc
This commit is contained in:
@@ -455,7 +455,7 @@ VIEWSITEINFO(){
|
|||||||
msg5="WBSKT"; c=0; spc5=''; spct=$((${cw_spc5}-${#msg5})); until [ $c = ${spct} ]; do spc5="${spc5} "; c=`expr $c + 1`; done
|
msg5="WBSKT"; c=0; spc5=''; spct=$((${cw_spc5}-${#msg5})); until [ $c = ${spct} ]; do spc5="${spc5} "; c=`expr $c + 1`; done
|
||||||
msg6="LOCK"; c=0; spc6=''; spct=$((${cw_spc6}-${#msg6})); until [ $c = ${spct} ]; do spc6="${spc6} "; c=`expr $c + 1`; done
|
msg6="LOCK"; c=0; spc6=''; spct=$((${cw_spc6}-${#msg6})); until [ $c = ${spct} ]; do spc6="${spc6} "; c=`expr $c + 1`; done
|
||||||
msg7="Proxy Host";
|
msg7="Proxy Host";
|
||||||
echo -e "${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}"
|
echo -e "${idsST[Bold]}${idsCL[LightCyan]}${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}${idsST[Reset]}${idsCL[Default]}"
|
||||||
DIVIDER false yellow 80
|
DIVIDER false yellow 80
|
||||||
|
|
||||||
sites=$(find ${LB_NGINX_SITES}/*)
|
sites=$(find ${LB_NGINX_SITES}/*)
|
||||||
@@ -463,7 +463,6 @@ VIEWSITEINFO(){
|
|||||||
site=${sitefile##*/}; site=${site/.conf/}
|
site=${sitefile##*/}; site=${site/.conf/}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[ "$(grep include/proxy.conf ${sitefile})" != "" ] && type='Proxy' || type='HTTP'
|
[ "$(grep include/proxy.conf ${sitefile})" != "" ] && type='Proxy' || type='HTTP'
|
||||||
[ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl=''
|
[ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl=''
|
||||||
[ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts=''
|
[ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts=''
|
||||||
@@ -479,7 +478,7 @@ VIEWSITEINFO(){
|
|||||||
msg7="${proxyhost}";
|
msg7="${proxyhost}";
|
||||||
|
|
||||||
echo -e "${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}"
|
echo -e "${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}"
|
||||||
DIVIDER false darkgrey 80
|
DIVIDER false darkgray 80
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user