diff --git a/consul/discovery.go b/consul/discovery.go index 8494c95..56781ab 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -155,6 +155,7 @@ 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=false", + "traefik.http.middlewares.auth.forwardauth.address=https://test/auth", "traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID", "traefik.http.middlewares.stripprefix_" + s.Name + ".stripprefix.prefixes=" + s.pathPrefix, "traefik.tls.certificates.certfile=/certs/client.cert",