wok-backports diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/squidclamav/stuff/icap-clamav.conf Wed Nov 02 22:00:58 2016 -0200 1.3 @@ -0,0 +1,15 @@ 1.4 +# Config include for squidclamav 1.5 +# Add include /etc/squid/icap.conf to you Squid config file (/etc/squid/squid.conf) 1.6 +icap_enable on 1.7 +icap_send_client_ip on 1.8 +icap_send_client_username on 1.9 +icap_client_username_encode off 1.10 +icap_client_username_header X-Authenticated-User 1.11 +icap_preview_enable on 1.12 +icap_preview_size 1024 1.13 +icap_service service_req reqmod_precache bypass=1 icap://127.0.0.1:1344/squidclamav 1.14 +icap_service service_resp respmod_precache bypass=1 icap://127.0.0.1:1344/squidclamav 1.15 +adaptation_service_set class_avreq service_req 1.16 +adaptation_service_set class_avresp service_req 1.17 +adaptation_access service_req allow all 1.18 +adaptation_access service_resp allow all