Skip to content

Commit 4acac0e

Browse files
authored
Merge pull request #20757 from martenson/nginx-headr
[25.0] fix config for nginx in docs
2 parents 14e6456 + fe5315d commit 4acac0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/admin/nginx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ previous section:
189189
# proxy all requests not matching other locations to Gunicorn
190190
location /galaxy {
191191
proxy_set_header Host $http_host;
192-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
192+
proxy_set_header X-Forwarded-For $remote_addr;
193193
proxy_set_header X-Forwarded-Proto $scheme;
194194
proxy_set_header Upgrade $http_upgrade;
195195
proxy_pass http://unix:/srv/galaxy/var/gunicorn.sock:/galaxy;

0 commit comments

Comments
 (0)