bunkerweb/confs/site/modsecurity-clamav.conf
2020-11-08 17:37:48 +01: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'"