diff --git a/consul/discovery.go b/consul/discovery.go index d7be32b..92f85dd 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -121,6 +121,7 @@ func (s *Service) getTags() []string { // "traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http", // "traefik.http.services." + s.Name + ".loadbalancer.server.port=" + port, "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=false", + "traefik.http.services." + s.Name + ".loadbalancer.servers." + fullName + "=" + bFullAddr, "traefik.http.services." + s.Name + ".loadbalancer.servers." + fullName + ".url=" + bFullAddr, "traefik.http.middlewares.compress.compress=true", "traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID",