traefik.yml aktualisiert

This commit is contained in:
olli 2023-08-29 14:52:24 +02:00
parent 5855f4292d
commit ff1f382ca6

View File

@ -250,7 +250,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
egrep -q "192.168.41.1 $host" /etc/hosts || echo "192.168.41.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