return 429 when req limit is hit instead of 503 [ci skip]
This commit is contained in:
parent
9fbe6bf73d
commit
0d24751314
1 changed files with 6 additions and 6 deletions
|
|
@ -310,12 +310,12 @@ resource "kubernetes_config_map" "ingress_nginx_controller" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data = {
|
data = {
|
||||||
use-forwarded-headers = "true"
|
use-forwarded-headers = "true"
|
||||||
compute-full-forwarded-for = "true"
|
compute-full-forwarded-for = "true"
|
||||||
enable-real-ip = "true"
|
enable-real-ip = "true"
|
||||||
allow-snippet-annotations = true
|
allow-snippet-annotations = true
|
||||||
# limit-req-status-code = 429
|
limit-req-status-code = 429
|
||||||
# limit-conn-status-code = 429
|
limit-conn-status-code = 429
|
||||||
enable-modsecurity = true
|
enable-modsecurity = true
|
||||||
enable-owasp-modsecurity-crs = false
|
enable-owasp-modsecurity-crs = false
|
||||||
modsecurity-snippet : <<-EOT
|
modsecurity-snippet : <<-EOT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue