traefik.yml aktualisiert

This commit is contained in:
olli 2023-08-01 13:47:29 +02:00
parent 96bf3ee571
commit 0e59b3a123

View File

@ -249,6 +249,7 @@
cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host
do
egrep -q "127.0.0.1 $host" /etc/hosts || echo "127.0.0.1 $host" >>/etc/hosts
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 ! egrep -q "401 Unauthorized|403 Forbidden" ${g_tmp}/traefik-wget-check