traefik.yml aktualisiert

This commit is contained in:
olli 2024-02-04 11:19:18 +01:00
parent 3ec53df0ab
commit e4bc26c597

View File

@ -201,10 +201,14 @@
do
host ${host} >/dev/null 2>&1 || continue
curl -s https://${host} >/dev/null 2>&1 || continue
while cat /tmp/ssllabs-scan-result-$host | jq -r | egrep -q '^\[\]$'
do
until ssllabs-scan --quiet ${host} >/tmp/ssllabs-scan-result-$host
do
sleep 60
done
sleep 60
done
cat /tmp/ssllabs-scan-result-$host | jq '.[] | .endpoints | .[] | .grade' >${g_tmp}/ssllabs-scan-result 2>&1 >${g_tmp}/ssllabs-scan-result
if ! egrep -q 'A+|null' ${g_tmp}/ssllabs-scan-result
then