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 81b5a454e..c1fb7f6f7 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf @@ -491,7 +491,12 @@ global {% endif %} {% endfor %} {% endif %} - +{% if OPNsense.HAProxy.general.tuning.customOptions|default("") != "" %} + # WARNING: pass through options below this line +{% for customOpt in OPNsense.HAProxy.general.tuning.customOptions.split("\n") %} + {{customOpt}} +{% endfor %} +{% endif %} {# ############################### #} {# DEFAULTS #}