|
# From https://github.com/SpiderLabs/ModSecurity/blob/master/
|
|
# modsecurity.conf-recommended
|
|
#
|
|
# Edit to set SecRuleEngine On
|
|
Include "/etc/nginx/modsec/modsecurity.conf"
|
|
|
|
# Basic test rule
|
|
SecRule ARGS:testparam "@contains test" "id:1234,deny,status:403" |