mirror of
https://github.com/traefik/traefik.git
synced 2025-09-28 09:11:24 +02:00
Added default case for PassHostHeader that logs a warning.
This commit is contained in:
parent
4d3aede5d3
commit
931ee55e1d
@ -132,7 +132,8 @@ func (provider *Kubernetes) loadIngresses(k8sClient k8s.Client) (*types.Configur
|
|||||||
PassHostHeader = true
|
PassHostHeader = true
|
||||||
case "false":
|
case "false":
|
||||||
PassHostHeader = false
|
PassHostHeader = false
|
||||||
|
default:
|
||||||
|
log.Warnf("Unknown value of %s for traefik.frontend.passHostHeader, falling back to %s", passHostHeaderAnnotation, PassHostHeader)
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, exists := templateObjects.Frontends[r.Host+pa.Path]; !exists {
|
if _, exists := templateObjects.Frontends[r.Host+pa.Path]; !exists {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user