Skip to content

Commit c480148

Browse files
committed
更新 Nginx 至 1.29.4, ModSecurity 至 v3.0.14
1 parent 3308fc9 commit c480148

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

Dockerfile.latest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ RUN git clone --depth 1 -b ${MODSECURITY_NGINX_VERSION} https://github.com/owasp
4848
RUN cd /opt/ModSecurity \
4949
&& git submodule init \
5050
&& git submodule update \
51+
&& sed -i '/#include <memory>/a #include <cstdint>' \
52+
headers/modsecurity/collection/collection.h \
5153
&& ./build.sh \
5254
&& ./configure --prefix=/usr/local/modsecurity --with-lmdb --with-pcre2 \
5355
&& make \
@@ -90,4 +92,4 @@ LABEL maintainer="AptS-1547 <apts-1547@esaps.net>" \
9092
nginx_version="1.29.4" \
9193
modsecurity_version="v3.0.14" \
9294
modsecurity_nginx_version="v1.0.4" \
93-
build_date="2025-12-12T03:35:33Z"
95+
build_date="2025-12-12T21:20:35Z"

nginx-1.29.4/mod-3.0.14/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ RUN git clone --depth 1 -b ${MODSECURITY_NGINX_VERSION} https://github.com/owasp
4848
RUN cd /opt/ModSecurity \
4949
&& git submodule init \
5050
&& git submodule update \
51+
&& sed -i '/#include <memory>/a #include <cstdint>' \
52+
headers/modsecurity/collection/collection.h \
5153
&& ./build.sh \
5254
&& ./configure --prefix=/usr/local/modsecurity --with-lmdb --with-pcre2 \
5355
&& make \
@@ -90,4 +92,4 @@ LABEL maintainer="AptS-1547 <apts-1547@esaps.net>" \
9092
nginx_version="1.29.4" \
9193
modsecurity_version="v3.0.14" \
9294
modsecurity_nginx_version="v1.0.4" \
93-
build_date="2025-12-12T03:35:33Z"
95+
build_date="2025-12-12T21:20:35Z"

nginx-1.29.4/mod-3.0.14/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- ModSecurity: v3.0.14
66
- ModSecurity-nginx: v1.0.4
77

8-
创建日期: 2025-12-12T03:35:33Z
8+
创建日期: 2025-12-12T21:20:35Z
99

1010
## 构建镜像
1111

versions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
NGINX_VERSION=1.29.4
22
MODSECURITY_VERSION=v3.0.14
33
MODSECURITY_NGINX_VERSION=v1.0.4
4-
BUILD_DATE=2025-12-12T03:35:33Z
4+
BUILD_DATE=2025-12-12T21:20:35Z

0 commit comments

Comments
 (0)