diff --git a/roles/nginx-https-ingress/templates/passthrough.conf.j2 b/roles/nginx-https-ingress/templates/passthrough.conf.j2 index b73691d..46e05f4 100644 --- a/roles/nginx-https-ingress/templates/passthrough.conf.j2 +++ b/roles/nginx-https-ingress/templates/passthrough.conf.j2 @@ -5,7 +5,9 @@ stream { {% for i in ingress %} {% if 'hosts' in i %} {% for host in i.hosts %} +{% if host.local is not defined or host.local == False %} {{ host.name }} {{ i.server }}; +{% endif%} {% endfor %} {% endif %} {% endfor %}