From 447c3567b45ed004b62fa12d048eaf9bf2fbc704 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com> Date: Tue, 2 Feb 2021 17:42:04 +0100 Subject: [PATCH] Fix the redirect entrypoint default priority --- pkg/config/static/entrypoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/static/entrypoints.go b/pkg/config/static/entrypoints.go index f55bfc3dc..3823cb4d6 100644 --- a/pkg/config/static/entrypoints.go +++ b/pkg/config/static/entrypoints.go @@ -71,7 +71,7 @@ type RedirectEntryPoint struct { func (r *RedirectEntryPoint) SetDefaults() { r.Scheme = "https" r.Permanent = true - r.Priority = math.MaxInt32 + r.Priority = math.MaxInt32 - 1 } // TLSConfig is the default TLS configuration for all the routers associated to the concerned entry point.