return 429 when req limit is hit instead of 503 [ci skip]
This commit is contained in:
parent
5ce7462b2c
commit
b3deb662af
2 changed files with 6 additions and 6 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue