From bd52034f7497e5edfb0606629d003a0a4e6d757a Mon Sep 17 00:00:00 2001 From: Tom Whitwell Date: Wed, 3 Jul 2024 15:55:13 +0100 Subject: [PATCH] AUT-1723: Fix the order of the realip config Apparently, the order of the realip config is important. This should now be correct. --- basic-auth-sidecar/default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic-auth-sidecar/default.conf b/basic-auth-sidecar/default.conf index c754acaf1..0b6dc7d9b 100644 --- a/basic-auth-sidecar/default.conf +++ b/basic-auth-sidecar/default.conf @@ -7,9 +7,9 @@ server { satisfy any; + include /etc/nginx/trusted-proxies.conf; real_ip_header X-Forwarded-For; real_ip_recursive on; - include /etc/nginx/trusted-proxies.conf; include /etc/nginx/allow-list.conf; deny all;