fix traefik auth plugin base config
This commit is contained in:
parent
3bd4bd31ff
commit
55965e295a
@ -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, Server",
|
||||
"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,
|
||||
|
Loading…
Reference in New Issue
Block a user