File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ RUN apk add --no-cache ca-certificates build-base patch cmake git libtool autoco
30
30
RUN git clone --recursive https://github.com/quictls/openssl --branch "$OPENSSL_VER" /src/openssl
31
31
# modsecurity
32
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 && \
33
+ sed -i "s|SecRuleEngine.*|SecRuleEngine On|g" /src/ModSecurity/modsecurity.conf-recommended && \
34
+ sed -i "s|unicode.mapping|/usr/local/nginx/conf/conf.d/include/unicode.mapping|g" /src/ModSecurity/modsecurity.conf-recommended && \
35
35
cd /src/ModSecurity && \
36
36
/src/ModSecurity/build.sh && \
37
37
/src/ModSecurity/configure --with-pcre2 --with-lmdb && \
You can’t perform that action at this time.
0 commit comments