mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/squid/templates/squidclamav.conf.j2
Normal file
15
roles/squid/templates/squidclamav.conf.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
maxsize {{ squid_av_max_size }}
|
||||
clamd_local /var/run/clamav/squid.sock
|
||||
dnslookup 0
|
||||
safebrowsing {{ squid_safebrowsing.stat.exists | ternary('1','0') }}
|
||||
|
||||
abort ^.*\.(ico|gif|png|jpg)$
|
||||
abortcontent ^image\/.*$
|
||||
abort ^.*\.(css|xml)$
|
||||
abortcontent ^video\/x-flv$
|
||||
abortcontent ^video\/mp4$
|
||||
abortcontent ^.*application\/x-mms-framed.*$
|
||||
|
||||
{% for wl in squid_local_whitelist %}
|
||||
whitelist {{ wl | regex_replace('\.','\\\.') }}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user