Change gitlab trusted proxies to be docker IP space

Else it becomes `127.0.0.1`, which is obviously not right
This commit is contained in:
Jake Howard 2020-09-12 20:03:22 +01:00
parent 6ad9fa070f
commit 4c92fba2b9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -26,8 +26,8 @@ gitlab_rails['redis_port'] = 6379
gitlab_rails['gitlab_default_theme'] = 2 gitlab_rails['gitlab_default_theme'] = 2
nginx['real_ip_trusted_addresses'] = ['0.0.0.0/0'] nginx['real_ip_trusted_addresses'] = ['172.80.0.0/16']
gitlab_rails['trusted_proxies'] = ['0.0.0.0/0'] gitlab_rails['trusted_proxies'] = ['172.80.0.0/16']
nginx['real_ip_header'] = 'X-Forwarded-For' nginx['real_ip_header'] = 'X-Forwarded-For'
gitlab_pages['enable'] = false gitlab_pages['enable'] = false