From 39bfa15f5fac2f260ff94fbf2893b3d5453a3cd3 Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Tue, 17 Nov 2026 14:51:58 +0000 Subject: [PATCH] fix(webgui): forward the client IP to the API --- etc/rc.d/rc.nginx | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/rc.d/rc.nginx b/etc/rc.d/rc.nginx index 5bb087071d..3e1a3807fb 100755 --- a/etc/rc.d/rc.nginx +++ b/etc/rc.d/rc.nginx @@ -428,6 +428,7 @@ build_locations(){ allow all; error_log /dev/null crit; proxy_pass http://unix:/var/run/unraid-api.sock:/graphql; + proxy_set_header X-Forwarded-For $remote_addr; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade;