From 41a0e3026b130f057be69fd2dc33df43f32adc14 Mon Sep 17 00:00:00 2001 From: Karl Stoney Date: Sun, 28 Jan 2018 19:02:21 +0000 Subject: [PATCH] Use v3/dev/performance of ModSecurity because of performance issues when combined with the owasp CRS See: https://github.com/SpiderLabs/ModSecurity/issues/1641 --- images/nginx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/nginx/build.sh b/images/nginx/build.sh index a90c0d2a7..d3242bda7 100755 --- a/images/nginx/build.sh +++ b/images/nginx/build.sh @@ -188,7 +188,7 @@ git submodule update # build modsecurity library cd "$BUILD_PATH" -git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity +git clone --depth 1 -b v3/dev/performance --single-branch https://github.com/SpiderLabs/ModSecurity cd ModSecurity/ git submodule init git submodule update @@ -338,7 +338,7 @@ cd .. # Download modsecurity.conf mkdir modsecurity cd modsecurity -curl -sSL -o modsecurity.conf https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v3/master/modsecurity.conf-recommended +curl -sSL -o modsecurity.conf https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v3/dev/performance/modsecurity.conf-recommended # OWASP CRS v3 rules echo "