Fix error pages
This commit is contained in:
parent
f3aefe282c
commit
0ae8cd9a9d
1 changed files with 5 additions and 0 deletions
|
@ -184,6 +184,11 @@ func (s *Server) loadFrontendConfig(
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handler used by error pages
|
||||||
|
if backendsHandlers[entryPointName+providerName+frontend.Backend] == nil {
|
||||||
|
backendsHandlers[entryPointName+providerName+frontend.Backend] = lb
|
||||||
|
}
|
||||||
|
|
||||||
if healthCheckConfig != nil {
|
if healthCheckConfig != nil {
|
||||||
backendsHealthCheck[entryPointName+providerName+frontendHash] = healthCheckConfig
|
backendsHealthCheck[entryPointName+providerName+frontendHash] = healthCheckConfig
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue