fix traefik auth plugin base config

This commit is contained in:
Piotr Biernat 2023-02-24 02:11:24 +01:00
parent 40ab38587c
commit 0c52f0f518

View File

@ -157,7 +157,7 @@ func (s *Service) getTags() []string {
"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.authRequestHeaders=",
"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,
"traefik.tls.certificates.certfile=/certs/client.cert",