fix: don't allow routers higher than internal ones
This commit is contained in:
parent
6a2db4e4e9
commit
1e7dbc70a0
19 changed files with 45 additions and 45 deletions
|
@ -95,7 +95,7 @@ type RedirectEntryPoint struct {
|
|||
func (r *RedirectEntryPoint) SetDefaults() {
|
||||
r.Scheme = "https"
|
||||
r.Permanent = true
|
||||
r.Priority = math.MaxInt32 - 1
|
||||
r.Priority = math.MaxInt - 1
|
||||
}
|
||||
|
||||
// TLSConfig is the default TLS configuration for all the routers associated to the concerned entry point.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue