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

elisiano/docker-nginx-modsecurity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NGINX with libModSecurity + ModSecurity-nginx connector

The dockerfile of this container has been copied from the official nginx repo (alpine-perl 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: no rules are shipped with this container, if you enable modsecurity you need to provide your own

Extras

If you're curious to know the difference from this dockerfile and the upstream one:

diff <(curl -fsL https://github.com/nginxinc/docker-nginx/raw/1.15.9/mainline/alpine-perl/Dockerfile) <(curl -fsL http://github.com/elisiano/docker-nginx-modsecurity/raw/master/Dockerfile)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •