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 38a33290f..dca4b93e6 100644 --- a/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf +++ b/net/haproxy/src/opnsense/service/templates/OPNsense/HAProxy/haproxy.conf @@ -1,6 +1,7 @@ # # Automatically generated configuration. # Do not edit this file manually. +{% if helpers.exists('OPNsense.HAProxy') %} {# ############################### #} {# MACROS #} @@ -959,3 +960,5 @@ listen remote_statistics {% else %} # statistics are DISABLED {% endif %} + +{% endif %}