Fix the redirect entrypoint default priority
This commit is contained in:
parent
3c5e6fe7f8
commit
447c3567b4
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ type RedirectEntryPoint struct {
|
||||||
func (r *RedirectEntryPoint) SetDefaults() {
|
func (r *RedirectEntryPoint) SetDefaults() {
|
||||||
r.Scheme = "https"
|
r.Scheme = "https"
|
||||||
r.Permanent = true
|
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.
|
// TLSConfig is the default TLS configuration for all the routers associated to the concerned entry point.
|
||||||
|
|
Loading…
Reference in a new issue