summaryrefslogtreecommitdiff
path: root/lib/support/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/support/nginx')
-rw-r--r--lib/support/nginx/gitlab1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 4fb203c730c..9f5155b3916 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -35,6 +35,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://gitlab;
}