From eafe13ace604a3381a41d07c1d49c495680bf3d7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 1 May 2022 19:13:45 +0200 Subject: webproxy: T4353: fix Jinja2 linting errors --- data/templates/squid/sg_acl.conf.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data/templates/squid/sg_acl.conf.j2 (limited to 'data/templates/squid/sg_acl.conf.j2') diff --git a/data/templates/squid/sg_acl.conf.j2 b/data/templates/squid/sg_acl.conf.j2 new file mode 100644 index 000000000..ce72b173a --- /dev/null +++ b/data/templates/squid/sg_acl.conf.j2 @@ -0,0 +1,18 @@ +### 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 + } +} -- cgit v1.2.3