Sign inSign up

elisiano/nginx-modsecurity

By elisiano

Updated over 7 years ago

NGINX (from official Dockerfile/alpine variant) + libModSecurity + ModSecurity-nginx connector

Image
11

100K+

elisiano/nginx-modsecurity repository overview

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)

Tag summary

Content type

Image

Digest

Size

80.5 MB

Last updated

over 7 years ago

docker pull elisiano/nginx-modsecurity