Skip to content

Commit

Permalink
updated ingress so that modsec ignores json
Browse files Browse the repository at this point in the history
  • Loading branch information
jogilder committed Sep 13, 2022
1 parent f2e22a9 commit 21ab52b
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 21ab52b

Please sign in to comment.