Skip to content

Latest commit

 

History

History
57 lines (30 loc) · 1.52 KB

README.md

File metadata and controls

57 lines (30 loc) · 1.52 KB

NGINX with libModSecurity + ModSecurity-nginx connector

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 http://ipaddr:6080/IN.html

To Test use :

sudo curl -i http://localhost:6080/

https://www.webpagetest.org/

https://www.locabrowser.com/

https://www.geoscreenshot.com

https://geopeeker.com

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:

http://www.netnea.com/cms/remo-a-rule-editor-for-modsecurity/

https://www.netnea.com/cms/core-rule-set-inventory/

http://www.waf-fle.org/about/

https://github.com/agile6v/awesome-nginx