This commit is contained in:
Piotr Biernat 2023-04-10 15:57:28 +02:00
parent effc7a6039
commit 6c00fc98f5

View File

@ -154,6 +154,7 @@ func (s *Service) getTags() []string {
"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=http://identity-svc/api/v1/traefik",
"traefik.http.middlewares.auth.forwardauth.authRequestHeaders=Cookie",
"traefik.http.middlewares.auth.forwardauth.authResponseHeaders=Set-Cookie, Server",
"traefik.http.middlewares.auth.forwardauth.trustForwardHeader=true",
"traefik.http.middlewares.requestid.plugin.requestid.headerName=X-Request-ID",