fix traefik auth plugin base config

This commit is contained in:
Piotr Biernat 2023-02-24 00:57:02 +01:00
parent db07562c5a
commit e3f8352a73

View File

@ -155,7 +155,7 @@ func (s *Service) getTags() []string {
"traefik.http.services." + s.Name + ".loadbalancer.server.scheme=http",
"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=https://test/auth",
"traefik.http.middlewares.auth.forwardauth.address=http://identity-svc/api/v1/login",
"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",