forked from Ivasoft/traefik
Fix the redirect entrypoint default priority
This commit is contained in:
committed by
GitHub
parent
3c5e6fe7f8
commit
447c3567b4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user