mirror of
https://github.com/traefik/traefik.git
synced 2025-11-28 14:11:17 +01:00
Fix error pages
This commit is contained in:
parent
f3aefe282c
commit
0ae8cd9a9d
@ -184,6 +184,11 @@ func (s *Server) loadFrontendConfig(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Handler used by error pages
|
||||
if backendsHandlers[entryPointName+providerName+frontend.Backend] == nil {
|
||||
backendsHandlers[entryPointName+providerName+frontend.Backend] = lb
|
||||
}
|
||||
|
||||
if healthCheckConfig != nil {
|
||||
backendsHealthCheck[entryPointName+providerName+frontendHash] = healthCheckConfig
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user