From e4bc26c597a40d2ed5865a433a0b646203d3ecc1 Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 4 Feb 2024 11:19:18 +0100 Subject: [PATCH] traefik.yml aktualisiert --- traefik.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/traefik.yml b/traefik.yml index 76be016..a60d7b4 100644 --- a/traefik.yml +++ b/traefik.yml @@ -201,8 +201,12 @@ do host ${host} >/dev/null 2>&1 || continue curl -s https://${host} >/dev/null 2>&1 || continue - until ssllabs-scan --quiet ${host} >/tmp/ssllabs-scan-result-$host + 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