summaryrefslogtreecommitdiff
path: root/data/templates/squid/sg_acl.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/squid/sg_acl.conf.j2')
-rw-r--r--data/templates/squid/sg_acl.conf.j217
1 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/squid/sg_acl.conf.j2 b/data/templates/squid/sg_acl.conf.j2
new file mode 100644
index 0000000..78297a2
--- /dev/null
+++ b/data/templates/squid/sg_acl.conf.j2
@@ -0,0 +1,17 @@
+### generated by service_webproxy.py ###
+dbhome {{ squidguard_db_dir }}
+dest {{ category }}-{{ rule }} {
+{% if list_type == 'domains' %}
+ domainlist {{ category }}/domains
+{% elif list_type == 'urls' %}
+ urllist {{ category }}/urls
+{% elif list_type == 'expressions' %}
+ expressionlist {{ category }}/expressions
+{% endif %}
+}
+
+acl {
+ default {
+ pass all
+ }
+}