diff --git a/consul/discovery.go b/consul/discovery.go index 6759e87..94d2c67 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -194,8 +194,9 @@ func (s *Service) getTags() []string { "traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http", "traefik.http.services." + s.Name + ".loadbalancer.server.port=" + strconv.Itoa(s.port), "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=true", - "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.interval=1", - "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.timeout=1", + "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.interval=1s", + "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.timeout=1s", + "traefik.http.services." + s.Name + ".loadbalancer.healthcheck.path=/health", "traefik.tls.certificates.certfile=/certs/client.cert", "traefik.tls.certificates.keyfile=/certs/client.key", }