Commit 2a43c38d authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(proxy) change squid template to use proper match

(cherry picked from commit 9f470708)
parent 9ceccdb9
......@@ -128,7 +128,7 @@ acl blackList url_regex {{element|replace(".","\.")}}
{% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %}
{% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') %}
{% if blacklist.enabled=='1' %}
acl remoteblacklist dstdom_regex "/usr/local/etc/squid/acl/{{blacklist.filename}}"
acl remoteblacklist dstdomain "/usr/local/etc/squid/acl/{{blacklist.filename}}"
{% endif %}
{% endfor %}
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment