Update sites.inc
This commit is contained in:
@@ -542,10 +542,10 @@ SITEINFO(){
|
|||||||
site=${SITELIST[${siteid}]}
|
site=${SITELIST[${siteid}]}
|
||||||
sitefile=${!gosite}/${site}.conf
|
sitefile=${!gosite}/${site}.conf
|
||||||
|
|
||||||
[ "$(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='-'
|
||||||
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt=''
|
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-'
|
||||||
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock=''
|
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-'
|
||||||
|
|
||||||
echo -e "${idsCL[Cyan]}Site: ${idsST[Bold]}${site}${idsST[Reset]}${idsCL[LightCyan]}"
|
echo -e "${idsCL[Cyan]}Site: ${idsST[Bold]}${site}${idsST[Reset]}${idsCL[LightCyan]}"
|
||||||
echo -e "${idsCL[Cyan]}SSL: ${idsST[Bold]}${ssl}${idsST[Reset]}${idsCL[LightCyan]}"
|
echo -e "${idsCL[Cyan]}SSL: ${idsST[Bold]}${ssl}${idsST[Reset]}${idsCL[LightCyan]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user