mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: fix syntax error in template, refs #1442
This commit is contained in:
@@ -1304,7 +1304,7 @@ backend {{backend.name}}
|
||||
{% if backend.tuning_httpreuse|default("") != "" and backend.mode == "http" %}
|
||||
http-reuse {{backend.tuning_httpreuse}}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.HAProxy.general.cache') and OPNsense.HAProxy.general.cache.enabled|default("") == "1" and if backend.tuning_caching|default("") == "1" and backend.mode == "http" %}
|
||||
{% if helpers.exists('OPNsense.HAProxy.general.cache') and OPNsense.HAProxy.general.cache.enabled|default("") == "1" and backend.tuning_caching|default("") == "1" and backend.mode == "http" %}
|
||||
http-request cache-use opnsense-haproxy-cache
|
||||
http-response cache-store opnsense-haproxy-cache
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user