mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 14:26:13 -04:00
net/haproxy: respect SSL option for servers, fixes #25
This commit is contained in:
parent
ac3eb9892b
commit
755961aa5b
1 changed files with 2 additions and 0 deletions
|
|
@ -779,6 +779,8 @@ backend {{backend.name}}
|
|||
{% do server_options.append('weight ' ~ server_data.weight) if server_data.weight|default("") != "" %}
|
||||
{# # server role/mode #}
|
||||
{% do server_options.append(server_data.mode) if server_data.mode|default("") != "active" %}
|
||||
{# # server ssl support #}
|
||||
{% do server_options.append('ssl ') if server_data.ssl|default("") == '1' %}
|
||||
{# # source address #}
|
||||
{% if backend.source|default("") != "" %}
|
||||
{# # prefer backend configuration #}
|
||||
|
|
|
|||
Loading…
Reference in a new issue