Update nginx image to fix modsecurity crs issues
This commit is contained in:
parent
4bc943a77d
commit
86b0c8e9f4
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# 0.0.0 shouldn't clobber any released builds
|
# 0.0.0 shouldn't clobber any released builds
|
||||||
TAG ?= 0.41
|
TAG ?= 0.42
|
||||||
REGISTRY ?= quay.io/kubernetes-ingress-controller
|
REGISTRY ?= quay.io/kubernetes-ingress-controller
|
||||||
ARCH ?= $(shell go env GOARCH)
|
ARCH ?= $(shell go env GOARCH)
|
||||||
DOCKER ?= gcloud docker --
|
DOCKER ?= gcloud docker --
|
||||||
|
|
|
@ -283,9 +283,9 @@ make install
|
||||||
|
|
||||||
# Download owasp modsecurity crs
|
# Download owasp modsecurity crs
|
||||||
cd /etc/nginx/
|
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
|
cd owasp-modsecurity-crs
|
||||||
git checkout d7571979b534ae6d9968a6e3582fb4f5212c3586
|
git checkout e4e0497be4d598cce0e0a8fef20d1f1e5578c8d0
|
||||||
|
|
||||||
mv crs-setup.conf.example crs-setup.conf
|
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
|
mv rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf
|
||||||
|
|
Loading…
Reference in a new issue