File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,9 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
134134 && git clone --depth 1 https://github.com/SpiderLabs/owasp-modsecurity-crs \
135135 && cd owasp-modsecurity-crs \
136136 && mv crs-setup.conf.example crs-setup.conf \
137+ && cd rules \
138+ && mv REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf \
139+ && mv RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.example RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf \
137140 && printf "include /etc/nginx/modsec.d/modsecurity.conf\n include /etc/nginx/modsec.d/owasp-modsecurity-crs/crs-setup.conf\n include /etc/nginx/modsec.d/owasp-modsecurity-crs/rules/*.conf\n " > /etc/nginx/modsec.d/main.conf \
138141 && cd /usr/src \
139142 && git clone --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git \
You can’t perform that action at this time.
0 commit comments