From e12d9e77a6fd531a22325337838a841b1c67f00d Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 16 May 2022 15:00:54 +0200 Subject: [PATCH] fix(helm): nginx forward L7 headers from LB Signed-off-by: rjshrjndrn --- scripts/helmcharts/vars.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/helmcharts/vars.yaml b/scripts/helmcharts/vars.yaml index 5c02f57f0..163b7d231 100644 --- a/scripts/helmcharts/vars.yaml +++ b/scripts/helmcharts/vars.yaml @@ -54,6 +54,10 @@ ingress-nginx: &ingress-nginx default-ssl-certificate: "app/openreplay-ssl" config: enable-real-ip: true + # Enable LB forwarded protocol + # Ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#use-forwarded-headers + # https://github.com/nginxinc/kubernetes-ingress/issues/1284#issuecomment-872869354 + # use-forwarded-headers: true # Ref: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#max-worker-connections max-worker-connections: 0 # SSL redirection