mirror of
https://github.com/traefik/traefik.git
synced 2025-11-29 06:31:16 +01:00
Fix the redirect entrypoint default priority
This commit is contained in:
parent
3c5e6fe7f8
commit
447c3567b4
@ -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…
x
Reference in New Issue
Block a user