a docker file for build modsecurity with nginx.
$ make build
$ make run
Verify that this rule works correctly, by making a request that includes the string test in the value of the query string testparam parameter:
$ curl -D - http://localhost/foo?testparam=thisisatestofmodsecurity
The request returns status code 403, confirming that the WAF is enabled and executing the rule.