Added WAF

This commit is contained in:
2023-08-13 00:22:25 +02:00
parent 2d9105d8bd
commit 0e76c757a5
5 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<IfDefine SECURITY>
LoadModule security2_module modules/mod_security2.so
# These paths are Gentoo-specific, created by the ebuild.
SecDataDir /var/lib/modsecurity/data
SecTmpDir /var/lib/modsecurity/tmp
SecUploadDir /var/lib/modsecurity/upload
# A copy of upstream's modsecurity.conf-recommended is installed
# along with the documentation for mod_security. It contains many
# recommended settings that you should evaluate for your system.
# The full documentation for the available settings can be found
# in the mod_security reference manual, at
#
# https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual
#
# and in particular in the "Configuration Directives" setting.
#
</IfDefine>