diff --git a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf index 7d11f3df9..d6e0624ef 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf @@ -131,7 +131,7 @@ {% if acl_data.caseSensitive|default('0') == '0' %} {% do acl_options.append('-i') %} {% endif %} -{% do acl_options.append('acl_data.hdr_sub) %} +{% do acl_options.append(acl_data.hdr_sub) %} {% else %} {% set acl_enabled = '0' %} # ERROR: missing parameters diff --git a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/sslCerts.yaml b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/sslCerts.yaml index fd766e002..2f7d7a4ee 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/sslCerts.yaml +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/sslCerts.yaml @@ -53,7 +53,7 @@ frontends: {{ cert_refid }}: path: {{ cert_template % cert_refid }} default: {{ "True" if frontend.ssl_default_certificate == cert_refid else "False" }} -{{ getCert(cert_refid) | indent( width=8, indentfirst=True) -}} +{{ getCert(cert_refid) | indent( width=8, first=True) -}} {% endfor %} {% endfor %} {% else %}