Allow to define a host for local access

If a host is defined as local, HTTPS traffic will not be forwared.
The LetsEncrypt proxy is still available.
This commit is contained in:
Stefan Haun 2022-09-06 16:49:29 +02:00
parent 6653129652
commit 965538141d

View file

@ -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 %}