Skip to content

xJonathanLEI/nginx-modsecurity-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.