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.