Commit 59b6337de04c8f60dad4a0f86845143e10e97c92

Authored by zeeZ
1 parent c938833b

Add X-Forwarded-For to nginx config

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/support/nginx/gitlab
... ... @@ -32,6 +32,7 @@ server {
32 32 proxy_set_header X-Forwarded-Proto $scheme;
33 33 proxy_set_header Host $http_host;
34 34 proxy_set_header X-Real-IP $remote_addr;
  35 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
35 36  
36 37 proxy_pass http://gitlab;
37 38 }
... ...