Update nginx image to fix modsecurity crs issues

This commit is contained in:
Manuel de Brito Fontes 2018-04-17 18:48:33 -03:00
parent 4bc943a77d
commit 86b0c8e9f4
2 changed files with 3 additions and 3 deletions

View file

@ -283,9 +283,9 @@ make install
# Download owasp modsecurity crs
cd /etc/nginx/
git clone -b v3.1/dev --single-branch https://github.com/SpiderLabs/owasp-modsecurity-crs
git clone -b v3.0/master --single-branch https://github.com/SpiderLabs/owasp-modsecurity-crs
cd owasp-modsecurity-crs
git checkout d7571979b534ae6d9968a6e3582fb4f5212c3586
git checkout e4e0497be4d598cce0e0a8fef20d1f1e5578c8d0
mv crs-setup.conf.example crs-setup.conf
mv rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf