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 89563df8e..5ed67d2c2 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf @@ -1032,7 +1032,7 @@ backend {{backend.name}} {{customOpt}} {% endfor %} {% endif %} -{% if backend.tuning_httpreuse|default("") != "" %} +{% if backend.tuning_httpreuse|default("") != "" and backend.mode == "http" %} http-reuse {{backend.tuning_httpreuse}} {% endif %} {% if backend.tuning_defaultserver|default("") != "" %}