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:
parent
6ad9fa070f
commit
4c92fba2b9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue