Commit 9f470708 authored by Ad Schellevis's avatar Ad Schellevis

(proxy) change squid template to use proper match

parent c215b358
...@@ -128,7 +128,7 @@ acl blackList url_regex {{element|replace(".","\.")}} ...@@ -128,7 +128,7 @@ acl blackList url_regex {{element|replace(".","\.")}}
{% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %} {% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %}
{% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') %} {% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') %}
{% if blacklist.enabled=='1' %} {% 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 %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% 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