Added healthcheck params in consul tags
This commit is contained in:
parent
c644f42ea9
commit
f0b5e56e43
@ -194,6 +194,8 @@ 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.tls.certificates.certfile=/certs/client.cert",
|
||||
"traefik.tls.certificates.keyfile=/certs/client.key",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user