fix: redirect servers bug
the key-value place for origin server and redirect server is wrong fix https://github.com/kubernetes/ingress-nginx/issues/2247
This commit is contained in:
parent
6e099c5f57
commit
9831814934
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error {
|
|||
}
|
||||
}
|
||||
if !found {
|
||||
redirectServers[n] = srv.Hostname
|
||||
redirectServers[srv.Hostname] = n
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue