We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c847ba0 commit f31af8bCopy full SHA for f31af8b
Dockerfile
@@ -30,6 +30,8 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git libtool autoco
30
RUN git clone --recursive https://github.com/quictls/openssl --branch "$OPENSSL_VER" /src/openssl
31
# modsecurity
32
RUN git clone --recursive https://github.com/SpiderLabs/ModSecurity --branch "$MODSEC_VER" /src/ModSecurity && \
33
+ sed -i "s|SecRuleEngine.*|SecRuleEngine On|g" /src/ModSecurity/modsecurity.conf.example && \
34
+ sed -i "s|unicode.mapping|/usr/local/nginx/conf/conf.d/include/unicode.mapping|g" /src/ModSecurity/modsecurity.conf.example && \
35
cd /src/ModSecurity && \
36
/src/ModSecurity/build.sh && \
37
/src/ModSecurity/configure --with-pcre2 --with-lmdb && \
0 commit comments