mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2026-04-25 07:05:59 +03:00
[PR #3] [CLOSED] Add ModSecurity #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-nginx-full#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/docker-nginx-full/pull/3
Author: @Renaud11232
Created: 11/12/2021
Status: ❌ Closed
Base:
master← Head:add-modsecurity📝 Commits (4)
f1bb3f4Compile and install ModSecurity2e4b4bbFix scripts permissions142335bUse git for the modsecurity buildf4060e3Merge branch 'master' into add-modsecurity📊 Changes
8 files changed (+128 additions, -5 deletions)
View changed files
📝
.jenkins/Jenkinsfile(+6 -3)📝
docker/Dockerfile(+42 -0)➕
scripts/build-libmaxminddb(+24 -0)➕
scripts/build-modsecurity(+28 -0)📝
scripts/build-openresty(+8 -2)📝
scripts/buildx(+3 -0)➕
scripts/install-libmaxminddb(+16 -0)📝
scripts/install-openresty(+1 -0)📄 Description
Hello,
This PR aims at adding ModSecurity (jc21/nginx-proxy-manager#847), with all options enabled, to nginx-proxy-manager.
Support for this could later be added in the web UI but I think I would already be great to have it installed, so it can be configured manually, if desired.
For this to work, additional libraries needed to be installed and compiled (The version of libmaxminddb available in the buster repositories was too old).
This also makes the image bigger (824MB for linux/amd64) since only copying libmodsecurity files adds a 355MB layer.
I succesfully built this image on my local machine for amd64.
Thanks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.