diff --git a/internal/ingress/controller/controller.go b/internal/ingress/controller/controller.go index aa8f4c4b92..1ddd79fd14 100644 --- a/internal/ingress/controller/controller.go +++ b/internal/ingress/controller/controller.go @@ -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