From 6c00fc98f5a4fef983c29e8d98f6d5b39697f293 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Mon, 10 Apr 2023 15:57:28 +0200 Subject: [PATCH] update --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/discovery.go b/consul/discovery.go index 722f7f7..c277fbd 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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",