wok-backports
annotate squidclamav/stuff/icap-clamav.conf @ rev 48
GNU Nano - Latest Version 2.7.1
author |
Leonardo Laporte <hackdorte@sapo.pt> |
date |
Wed Nov 02 22:00:58 2016 -0200 (2016-11-02) |
parents |
|
children |
|
rev |
line source |
erjo@25
|
1 # Config include for squidclamav
|
erjo@25
|
2 # Add include /etc/squid/icap.conf to you Squid config file (/etc/squid/squid.conf)
|
erjo@25
|
3 icap_enable on
|
erjo@25
|
4 icap_send_client_ip on
|
erjo@25
|
5 icap_send_client_username on
|
erjo@25
|
6 icap_client_username_encode off
|
erjo@25
|
7 icap_client_username_header X-Authenticated-User
|
erjo@25
|
8 icap_preview_enable on
|
erjo@25
|
9 icap_preview_size 1024
|
erjo@25
|
10 icap_service service_req reqmod_precache bypass=1 icap://127.0.0.1:1344/squidclamav
|
erjo@25
|
11 icap_service service_resp respmod_precache bypass=1 icap://127.0.0.1:1344/squidclamav
|
erjo@25
|
12 adaptation_service_set class_avreq service_req
|
erjo@25
|
13 adaptation_service_set class_avresp service_req
|
erjo@25
|
14 adaptation_access service_req allow all
|
erjo@25
|
15 adaptation_access service_resp allow all
|