From b3be108d382b33138518f48ac0b2cdc86b342a73 Mon Sep 17 00:00:00 2001 From: Manus Freedom Date: Tue, 7 Jun 2016 09:44:14 +0200 Subject: [PATCH] Fix General Settings/Custom options not applied --- .../service/templates/OPNsense/HAProxy/haproxy.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 #}