diff --git a/consul/discovery.go b/consul/discovery.go index 420ef94..8dfa283 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -193,7 +193,7 @@ func (s *Service) getTags() []string { "traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + ",requestid_" + s.Name + ",stripprefix_" + s.Name + "", "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=false", + "traefik.http.services." + s.Name + ".loadbalancer.passhostheader=true", "traefik.tls.certificates.certfile=/certs/client.cert", "traefik.tls.certificates.keyfile=/certs/client.key", }