traefik.yml aktualisiert
This commit is contained in:
parent
f52ba6efbf
commit
c5a78ab5c6
12
traefik.yml
12
traefik.yml
@ -260,6 +260,18 @@
|
||||
g_echo_error "Error while connecting ${host} with wget:
|
||||
|
||||
$(cat ${g_tmp}/traefik-wget-check)"
|
||||
else
|
||||
[ -f "${g_tmp}/$host-502" ] && rm "${g_tmp}/$host-502"
|
||||
fi
|
||||
if egrep -q "502 Bad Gateway" ${g_tmp}/traefik-wget-check
|
||||
then
|
||||
if [ -s "${g_tmp}/$host-502" ] && find "${g_tmp}/$host-502" | grep "$host-502" -mmin +15
|
||||
then
|
||||
g_echo_error "Error while connecting ${host} with wget:
|
||||
$(cat ${g_tmp}/traefik-wget-check)"
|
||||
else
|
||||
date >"${g_tmp}/$host-502"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user