ignore 403 Forbidden too
This commit is contained in:
parent
7f228ab2a5
commit
96c29a1d56
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user