From 20278f24b353bd85dd1251802a7bf188909b3e4d Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 16:07:20 +0200 Subject: [PATCH] Fixed consul registered middlewares --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 9d52f24..b82bd67 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -192,7 +192,7 @@ func (s *Service) getTags() []string { // "traefik.http.middlewares.auth_" + s.Name + ".forwardauth.authRequestHeaders=Cookie", // "traefik.http.middlewares.auth_" + s.Name + ".forwardauth.authResponseHeaders=Set-Cookie, Server", // "traefik.http.middlewares.auth_" + s.Name + ".forwardauth.trustForwardHeader=true", - // "traefik.http.middlewares.requestid_" + s.Name + ".plugin.requestid.headerName=X-Request-ID", + "traefik.http.middlewares.requestid_" + s.Name + ".plugin.requestid.headerName=X-Request-ID", "traefik.http.middlewares.stripprefix_" + s.Name + ".stripprefix.prefixes=" + s.pathPrefix, "traefik.tls.certificates.certfile=/certs/client.cert", "traefik.tls.certificates.keyfile=/certs/client.key",