mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/haproxy: ACL "Host contains" should use hdr_sub instead of hdr_dir
This commit is contained in:
parent
75175c10df
commit
ed5ea4e352
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
|||
{% endif %}
|
||||
{% elif acl_data.expression == 'host_contains' %}
|
||||
{% if acl_data.value|default("") != "" %}
|
||||
{% do acl_options.append('hdr_dir(host) -i ' ~ acl_data.value) %}
|
||||
{% do acl_options.append('hdr_sub(host) -i ' ~ acl_data.value) %}
|
||||
{% else %}
|
||||
{% set acl_enabled = '0' %}
|
||||
# ERROR: missing parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue