✨ 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:
parent
6653129652
commit
965538141d
1 changed files with 2 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue