mirror of
https://github.com/traefik/traefik.git
synced 2025-11-29 14:41:15 +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
|
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…
x
Reference in New Issue
Block a user