traefik.yml aktualisiert

This commit is contained in:
olli 2024-02-25 13:00:28 +01:00
parent c0f2e2e417
commit 8602b52afe

View File

@ -259,6 +259,7 @@
cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host
do
find -mmin -5 /tmp/$host >/dev/null 2>&1 | grep -q $host && continue
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