Skip to content

Docker file from nginx:alpine modified to include ModSecurity (lib v3) + ModSecurity-nginx connector

Notifications You must be signed in to change notification settings

VinayaSathyanarayana/kateelsecure

 
 

Repository files navigation

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

About

Docker file from nginx:alpine modified to include ModSecurity (lib v3) + ModSecurity-nginx connector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 99.1%
  • HTML 0.9%