Skip to content

Commit

Permalink
Merge pull request #1140 from ministryofjustice/feature/LGA-2125-upda…
Browse files Browse the repository at this point in the history
…te-ingress-version

LGA-2125 updated ingress so that modsec ignores json
  • Loading branch information
jogilder committed Sep 13, 2022
2 parents f2e22a9 + 169c17a commit f6ce733
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm_deploy/cla-public/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
nginx.ingress.kubernetes.io/modsecurity-snippet: |
SecRuleRemoveById 200001
spec:
ingressClassName: "modsec"
tls:
Expand Down

0 comments on commit f6ce733

Please sign in to comment.