bunkerweb/confs/modsecurity-clamav.conf
2020-06-06 21:05:41 +02:00

5 lines
172 B
Plaintext

SecUploadDir /tmp
SecUploadKeepFiles On
SecRule FILES_TMPNAMES "@inspectFile /opt/scripts/clamav.sh" \
"phase:2,t:none,deny,msg:'Virus found in uploaded file',id:'399999'"