The dockerfile of this container has been copied from the official nginx repo (alpine variant) and has been modified to add ModSecurity library (v3) + ModSecurity nginx connector.
You can refer to the official nginx image documentation for instructions on how to use this image.
When you provide your configuration you can enable modsecurity. Please refer to their wiki for documentation.
NOTE: Default rules are shipped with this container, modify as appropriate
sudo docker build --tag="kateel:001" .
sudo docker run -p 6080:80 kateel:001
Point browser to https://ipaddr:6080/IN.html
To Test use :
sudo curl -i https://localhost:6080/
https://www.dotcom-tools.com/website-speed-test.aspx
Status
- Currently blocks Countries
- Hardened
- WAF
ToDo
Redirection
https://amplify.nginx.com/docs/
https://docs.nginx.com/nginx-waf/
References:
https://www.netnea.com/cms/remo-a-rule-editor-for-modsecurity/
https://www.netnea.com/cms/core-rule-set-inventory/