summaryrefslogtreecommitdiff
path: root/data/templates/squid/squid.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-10 20:31:57 +0200
committerGitHub <noreply@github.com>2021-09-10 20:31:57 +0200
commitf2ea6a57b0876ee164d617ca4f54b37afa80f221 (patch)
tree5fb62c49be34e389e963b803a14ca29027be9c59 /data/templates/squid/squid.conf.tmpl
parente626407f4c246941eb2ca1b167a4b594b7bf6461 (diff)
parentf36fe0fbd65f4992c867873698b921745bfc8f91 (diff)
downloadvyos-1x-f2ea6a57b0876ee164d617ca4f54b37afa80f221.tar.gz
vyos-1x-f2ea6a57b0876ee164d617ca4f54b37afa80f221.zip
Merge pull request #1000 from sever-sever/T3810
squid: squidguard: T3810: Fix template for sourcre-group and rule
Diffstat (limited to 'data/templates/squid/squid.conf.tmpl')
-rw-r--r--data/templates/squid/squid.conf.tmpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/data/templates/squid/squid.conf.tmpl b/data/templates/squid/squid.conf.tmpl
index 8754e762d..80826fc75 100644
--- a/data/templates/squid/squid.conf.tmpl
+++ b/data/templates/squid/squid.conf.tmpl
@@ -1,7 +1,5 @@
### generated by service_webproxy.py ###
-acl localhost src 127.0.0.1/32
-acl to_localhost dst 127.0.0.0/8
acl net src all
acl SSL_ports port 443
acl Safe_ports port 80 # http
@@ -101,9 +99,9 @@ forwarded_for off
{# SquidGuard #}
{% if url_filtering is defined and url_filtering.disable is not defined %}
{% if url_filtering.squidguard is defined and url_filtering.squidguard is not none %}
-redirect_program /usr/bin/squidGuard -c {{ squidguard_conf }}
-redirect_children 8
-redirector_bypass on
+url_rewrite_program /usr/bin/squidGuard -c {{ squidguard_conf }}
+url_rewrite_children 8
+url_rewrite_bypass on
{% endif %}
{% endif %}