BigW Consortium Gitlab

Commit f24e1514 by Dmitriy Zaporozhets

Merge pull request #5617 from zeeZ/nginx-proxy

Add X-Forwarded-For to nginx config
parents b7fc0e81 59b6337d
...@@ -35,6 +35,7 @@ server { ...@@ -35,6 +35,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://gitlab; proxy_pass http://gitlab;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment