From fe5315d74dd085851f4405cb83f4e49ceb7db9d1 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Mon, 11 Aug 2025 11:10:50 +0200 Subject: [PATCH] fix docs for nginx --- doc/source/admin/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/admin/nginx.md b/doc/source/admin/nginx.md index a76b8a6e564..eb523ee4cc2 100644 --- a/doc/source/admin/nginx.md +++ b/doc/source/admin/nginx.md @@ -189,7 +189,7 @@ previous section: # proxy all requests not matching other locations to Gunicorn location /galaxy { proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_pass http://unix:/srv/galaxy/var/gunicorn.sock:/galaxy;