Skip to content

Commit

Permalink
Apply per request rate limiting to nginx (#1029)
Browse files Browse the repository at this point in the history
Configure requests per second = 200
  • Loading branch information
mitchdawson1982 authored Nov 8, 2024
1 parent 4714de1 commit 9d5b111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deployments/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
external-dns.alpha.kubernetes.io/set-identifier: find-moj-data-ingress-${NAMESPACE}-green
external-dns.alpha.kubernetes.io/aws-weight: "100"
nginx.ingress.kubernetes.io/limit-rps: "200"
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
nginx.ingress.kubernetes.io/modsecurity-snippet: |
SecRuleEngine On
Expand Down

0 comments on commit 9d5b111

Please sign in to comment.