Added default case for PassHostHeader that logs a warning.
This commit is contained in:
parent
4d3aede5d3
commit
931ee55e1d
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ func (provider *Kubernetes) loadIngresses(k8sClient k8s.Client) (*types.Configur
|
|||
PassHostHeader = true
|
||||
case "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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue