From 3bd4bd31ff313b657bb4fbe3e0f7e3667896afaa Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 28 Feb 2023 01:51:15 +0100 Subject: [PATCH] fix traefik auth plugin base config --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 5b7fb11..bc7dac0 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -156,7 +156,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.authResponseHeaders=Set-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", "traefik.http.middlewares.stripprefix_" + s.Name + ".stripprefix.prefixes=" + s.pathPrefix,