Files
zira-etc/sysconfig/imunify360/generic/modsec2.imunify.conf

11 lines
425 B
Plaintext

# Imunify360 mod_security config patch
<IfModule security2_module>
# The following two settings are needed for realtime scanning of uploaded files
SecRequestBodyAccess On
SecTmpSaveUploadedFiles On
SecResponseBodyLimitAction ProcessPartial
# Warning: custom SecTmpDir/SecUploadDir do not work with cPanel apache jailshell
SecTmpDir /var/imunify360/tmp_modsec
SecUploadDir /var/imunify360/tmp_modsec
</IfModule>