mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: support new ssl_fc option
This commit is contained in:
@@ -797,6 +797,7 @@
|
||||
<path_regex>Path regex</path_regex>
|
||||
<path_contains>Path contains</path_contains>
|
||||
<url_parameter>URL parameter contains</url_parameter>
|
||||
<ssl_fc>SSL/TLS connection established</ssl_fc>
|
||||
<ssl_c_verify_code>SSL Client certificate verify error result</ssl_c_verify_code>
|
||||
<ssl_c_verify>SSL Client certificate is valid</ssl_c_verify>
|
||||
<ssl_c_ca_commonname>SSL Client issued by CA common-name</ssl_c_ca_commonname>
|
||||
|
||||
@@ -155,6 +155,8 @@
|
||||
{% set acl_enabled = '0' %}
|
||||
# ERROR: missing parameters
|
||||
{% endif %}
|
||||
{% elif acl_data.expression == 'ssl_fc' %}
|
||||
{% do acl_options.append('ssl_fc') %}
|
||||
{% elif acl_data.expression == 'source_ip' %}
|
||||
{% if acl_data.value|default("") != "" %}
|
||||
{% do acl_options.append('src ' ~ acl_data.value) %}
|
||||
|
||||
Reference in New Issue
Block a user