diff --git a/internal/ingress/controller/controller.go b/internal/ingress/controller/controller.go index 79422334d..be186a399 100644 --- a/internal/ingress/controller/controller.go +++ b/internal/ingress/controller/controller.go @@ -131,6 +131,9 @@ func (n *NGINXController) syncIngress(interface{}) error { if !hosts.Has(server.Hostname) { hosts.Insert(server.Hostname) } + if server.Alias != "" && !hosts.Has(server.Hostname) { + hosts.Insert(server.Alias) + } if !server.SSLPassthrough { continue