xJonathanLEI / nginx-modsecurity-docker

Docker Image for Nginx with ModSecurity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nginx with ModSecurity

Acknowledgement

This repository is mostly copy-and-pasted from the work by krish512, with only some small changes.

Docker Hub

Built images are available on Docker Hub.

Configuration

The following environment variables are available for simple configuration. For more sophisticated scenarios you need to edit conf files directly.

MODSECURITY_DETECTION_ONLY

Whether ModSecurity rule engine should be running in DetectionOnly mode. Can be one of the following:

  • true
  • false

Defaults to false.

About

Docker Image for Nginx with ModSecurity


Languages

Language:Dockerfile 90.0%Language:Shell 10.0%