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;