From 1d4164711ea6f00848b5e310723831f61d5ac6f9 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 17 Jul 2024 22:46:28 +0200 Subject: [PATCH] FIX RetryIf plugin config --- consul/discovery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/discovery.go b/consul/discovery.go index a820dfa..a1a42dc 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -193,8 +193,8 @@ func (s *Service) getTags() []string { "traefik.http.middlewares.auth_" + s.Name + ".plugin.auth.handlerURL=" + config.GetEnv("AUTH_HANDLER_URL", "http://identity.service.ego.io/api/v1/traefik"), "traefik.http.middlewares.stripprefix_" + s.Name + ".stripprefix.prefixes=" + s.pathPrefix, "traefik.http.middlewares.requestid_" + s.Name + ".plugin.requestid.headerName=X-Request-ID", - "treafik.http.middlewares.retryif_" + s.Name + ".plugin.retryif.attempts: 3", - "treafik.http.middlewares.retryif_" + s.Name + ".plugin.retryif.statusCode: 503", + "treafik.http.middlewares.retryif_" + s.Name + ".plugin.retryif.attempts=3", + "treafik.http.middlewares.retryif_" + s.Name + ".plugin.retryif.statusCode=503", "traefik.http.routers." + s.Name + ".rule=PathPrefix(`" + s.pathPrefix + "`)", // "traefik.http.routers." + s.Name + ".rule=Host(`" + s.domain + "`)", "traefik.http.routers." + s.Name + ".entryPoints=https",