Update sites.inc
This commit is contained in:
@@ -625,9 +625,9 @@ SITEINFO(){
|
|||||||
[ "$(grep '\#include conf.d/include/hsts-support.conf' ${sitefile})" != "" ] && hsts='' || hsts='Yes'
|
[ "$(grep '\#include conf.d/include/hsts-support.conf' ${sitefile})" != "" ] && hsts='' || hsts='Yes'
|
||||||
[ "$(grep '\#include conf.d/include/websocket-support.conf' ${sitefile})" != "" ] && wbskt='' || wbskt='Yes'
|
[ "$(grep '\#include conf.d/include/websocket-support.conf' ${sitefile})" != "" ] && wbskt='' || wbskt='Yes'
|
||||||
[ "$(grep '\#include conf.d/include/block-exploits.conf' ${sitefile})" != "" ] && explt='' || explt='Yes'
|
[ "$(grep '\#include conf.d/include/block-exploits.conf' ${sitefile})" != "" ] && explt='' || explt='Yes'
|
||||||
[ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" != "" ] && lock='' || lock='Yes'
|
# [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" != "" ] && lock='' || lock='Yes'
|
||||||
|
|
||||||
if [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" == "" ]; then
|
if [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" == "" ] && [ "$(grep '\include conf.d/include/secure-access.conf' ${sitefile})" == "" ]; then
|
||||||
if [ "${onefacline}" == "" ]; then
|
if [ "${onefacline}" == "" ]; then
|
||||||
onefacline=$(ssh root@${NM_AUTHELIA_IP} grep -Fn one_factor /mnt/web-data/authelia/config/configuration.yml | sort | tail -n1)
|
onefacline=$(ssh root@${NM_AUTHELIA_IP} grep -Fn one_factor /mnt/web-data/authelia/config/configuration.yml | sort | tail -n1)
|
||||||
onefacline=${onefacline%%:*}
|
onefacline=${onefacline%%:*}
|
||||||
|
|||||||
Reference in New Issue
Block a user