Merge pull request #2369 from aledbf/update-nginx

Update nginx image to fix modsecurity crs issues
This commit is contained in:
k8s-ci-robot 2018-04-19 12:28:00 -07:00 committed by GitHub
commit c3ff76ae50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License.
# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.41
TAG ?= 0.42
REGISTRY ?= quay.io/kubernetes-ingress-controller
ARCH ?= $(shell go env GOARCH)
DOCKER ?= gcloud docker --

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