bunkerweb/confs2/site/modsecurity-clamav.conf
2021-05-21 14:55:54 +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'"