traefik.yml aktualisiert
This commit is contained in:
parent
c0f2e2e417
commit
8602b52afe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user