return 429 when req limit is hit instead of 503 [ci skip]

This commit is contained in:
Viktor Barzin 2025-10-16 21:11:46 +00:00
parent 5ce7462b2c
commit b3deb662af
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
2 changed files with 6 additions and 6 deletions

View file

@ -310,12 +310,12 @@ resource "kubernetes_config_map" "ingress_nginx_controller" {
}
}
data = {
use-forwarded-headers = "true"
compute-full-forwarded-for = "true"
enable-real-ip = "true"
allow-snippet-annotations = true
# limit-req-status-code = 429
# limit-conn-status-code = 429
use-forwarded-headers = "true"
compute-full-forwarded-for = "true"
enable-real-ip = "true"
allow-snippet-annotations = true
limit-req-status-code = 429
limit-conn-status-code = 429
enable-modsecurity = true
enable-owasp-modsecurity-crs = false
modsecurity-snippet : <<-EOT

Binary file not shown.