summaryrefslogtreecommitdiff
path: root/data/templates/squid/squid.conf.tmpl
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-09-10 15:32:35 +0000
committerViacheslav <v.gletenko@vyos.io>2021-09-10 16:03:13 +0000
commitf36fe0fbd65f4992c867873698b921745bfc8f91 (patch)
tree6bc7d1b311fe9b437e6b2455d973792f0f133844 /data/templates/squid/squid.conf.tmpl
parentc3e585ebd53a9e61303ffd7c13289ce328badb3d (diff)
downloadvyos-1x-f36fe0fbd65f4992c867873698b921745bfc8f91.tar.gz
vyos-1x-f36fe0fbd65f4992c867873698b921745bfc8f91.zip
squid: squidguard: T3810: Fix template for sourcre-group and rule
Modify template for squid Replace old directives to actual
Diffstat (limited to 'data/templates/squid/squid.conf.tmpl')
-rw-r--r--data/templates/squid/squid.conf.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/squid/squid.conf.tmpl b/data/templates/squid/squid.conf.tmpl
index 8458e9589..80826fc75 100644
--- a/data/templates/squid/squid.conf.tmpl
+++ b/data/templates/squid/squid.conf.tmpl
@@ -99,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 %}