From 6ae5d4408947b6db5786c02136e1d8997b6629a6 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Wed, 4 Feb 2026 16:00:32 +0000 Subject: [PATCH] Add X-Forwarded headers to nginx ingress docs Might need to look at adding to all K8s install docs --- docs/install/kubernetes/aws.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/install/kubernetes/aws.md b/docs/install/kubernetes/aws.md index d53b0a96db..7a501d582f 100644 --- a/docs/install/kubernetes/aws.md +++ b/docs/install/kubernetes/aws.md @@ -125,7 +125,13 @@ controller: configNameSpace: $(POD_NAMESPACE)/udp-services config: proxy-body-size: "0" + annotations-risk-level: "Critical" + use-gzip: true use-proxy-protocol: true + enable-real-ip: true + use-forwarded-headers: true + server-snippet: | + real_ip_header X-Forwarded-For; service: # AWS Annotations for LoadBalaner with Certificate ARN annotations: @@ -141,6 +147,7 @@ controller: externalTrafficPolicy: Cluster ingressClassResource: default: true + allowSnippetAnnotations: true ``` > The `proxy-body-size: "0"` removes the `1m` nginx default limit, you can set this to a