mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: unbreak if frontend mode is set to ssl
This commit is contained in:
committed by
Franco Fichtner
parent
671b2200b9
commit
a55167775b
@@ -580,8 +580,12 @@ frontend {{frontend.name}}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if frontend.mode == "ssl" %}
|
||||
mode tcp
|
||||
{% else %}
|
||||
mode {{frontend.mode}}
|
||||
{% if frontend.mode != "tcp" %}
|
||||
{% endif %}
|
||||
{% if frontend.mode != "tcp" and frontend.mode != "ssl" %}
|
||||
option {{frontend.connectionBehaviour}}
|
||||
{% endif %}
|
||||
{# # select backend #}
|
||||
|
||||
Reference in New Issue
Block a user