From 2f45d4f56d24c9c686c2a809abfb7a3709454fa3 Mon Sep 17 00:00:00 2001 From: "ocowchun(Ben Yeh)" Date: Sat, 19 Jan 2019 17:51:03 +0800 Subject: [PATCH] enable use-forwarded-headers for L7 LB --- deploy/provider/aws/patch-configmap-l7.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/provider/aws/patch-configmap-l7.yaml b/deploy/provider/aws/patch-configmap-l7.yaml index c71eaab0a8..b1bcd2a971 100644 --- a/deploy/provider/aws/patch-configmap-l7.yaml +++ b/deploy/provider/aws/patch-configmap-l7.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/part-of: ingress-nginx data: use-proxy-protocol: "false" - + use-forwarded-headers: "true" + proxy-real-ip-cidr: "0.0.0.0/0" # restrict this to the IP addresses of ELB ---