From 96c29a1d56e972b204f12e0fd9cbcb512031f2f6 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 23 Dec 2022 13:33:14 +0100 Subject: [PATCH] ignore 403 Forbidden too --- traefik.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traefik.yml b/traefik.yml index 3c721d9..7a8eb43 100644 --- a/traefik.yml +++ b/traefik.yml @@ -246,7 +246,7 @@ do if ! wget --dns-timeout=120 -t5 --waitretry=120 --connect-timeout=300 --read-timeout=15 http://${host} >${g_tmp}/traefik-wget-check -O /dev/null 2>&1 then - if ! grep -q "401 Unauthorized" ${g_tmp}/traefik-wget-check + if ! egrep -q "401 Unauthorized|403 Forbidden" ${g_tmp}/traefik-wget-check then g_echo_error "Error while connecting ${host} with wget: