mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
net/haproxy: unbreak if frontend mode is set to ssl
This commit is contained in:
parent
671b2200b9
commit
a55167775b
1 changed files with 5 additions and 1 deletions
|
|
@ -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 #}
|
||||
|
|
|
|||
Loading…
Reference in a new issue