From 7d3fab59fec0871fba9a6c96793402f20797dd9b Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 6 Dec 2023 22:42:50 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8239dba..e3c3929 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,8 +30,8 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git libtool autoco RUN git clone --recursive https://github.com/quictls/openssl --branch "$OPENSSL_VER" /src/openssl # modsecurity RUN git clone --recursive https://github.com/SpiderLabs/ModSecurity --branch "$MODSEC_VER" /src/ModSecurity && \ - sed -i "s|SecRuleEngine.*|SecRuleEngine On|g" /src/ModSecurity/modsecurity.conf.example && \ - sed -i "s|unicode.mapping|/usr/local/nginx/conf/conf.d/include/unicode.mapping|g" /src/ModSecurity/modsecurity.conf.example && \ + sed -i "s|SecRuleEngine.*|SecRuleEngine On|g" /src/ModSecurity/modsecurity.conf-recommended && \ + sed -i "s|unicode.mapping|/usr/local/nginx/conf/conf.d/include/unicode.mapping|g" /src/ModSecurity/modsecurity.conf-recommended && \ cd /src/ModSecurity && \ /src/ModSecurity/build.sh && \ /src/ModSecurity/configure --with-pcre2 --with-lmdb && \