This commit is contained in:
Evgenii Apollonskii 2025-02-17 20:53:18 +08:00 committed by GitHub
commit 83a301c485
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -938,6 +938,7 @@ func (n *NGINXController) getBackendServers(ingresses []*ingress.Ingress) ([]*in
nb := upstream.DeepCopy()
nb.Name = name
nb.Endpoints = endps
nb.Service = location.DefaultBackend
aUpstreams = append(aUpstreams, nb)
location.DefaultBackendUpstreamName = name