Ensure the correct IP is detected

This commit is contained in:
Jake Howard 2020-09-01 20:12:16 +01:00
parent acef6246d0
commit 3bc1d75d9e
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -25,4 +25,6 @@ gitlab_rails['redis_host'] = 'redis'
gitlab_rails['redis_port'] = 6379 gitlab_rails['redis_port'] = 6379
gitlab_rails['gitlab_default_theme'] = 2 gitlab_rails['gitlab_default_theme'] = 2
gitlab_rails['trusted_proxies'] = ['172.17.0.1']
nginx['real_ip_trusted_addresses'] = ['0.0.0.0/0']
nginx['real_ip_header'] = 'X-Forwarded-For'