diff --git a/consul/discovery.go b/consul/discovery.go index b0d2eaa..f2acd24 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -190,7 +190,7 @@ func (s *Service) getTags() []string { // "traefik.http.routers." + s.Name + ".tls=true", "traefik.http.routers." + s.Name + ".service=" + s.Name, // "traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + ",stripprefix_" + s.Name, - "traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + ",requestid_" + s.Name + ",stripprefix_" + s.Name, + "traefik.http.routers." + s.Name + ".middlewares=auth_" + s.Name + "@docker,requestid_" + s.Name + "@docker,stripprefix_" + s.Name + "@docker", "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",