install_r45_on_ubuntu_1804l.../modsecurity_main.conf

8 lines
255 B
Plaintext
Raw Normal View History

2022-08-20 09:04:57 +00:00
# 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"