diff --git a/traefik.yml b/traefik.yml index 03956ec..a0df624 100644 --- a/traefik.yml +++ b/traefik.yml @@ -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