enable real ip on ingress nginx to track cf ips [ci skip]
This commit is contained in:
parent
bf5c1b9774
commit
d1e0e2c5c7
1 changed files with 4 additions and 1 deletions
|
|
@ -310,7 +310,10 @@ resource "kubernetes_config_map" "ingress_nginx_controller" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data = {
|
data = {
|
||||||
allow-snippet-annotations = true
|
use-forwarded-headers = "true"
|
||||||
|
compute-full-forwarded-for = "true"
|
||||||
|
enable-real-ip = "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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue