diff --git a/ansible/roles/gitlab/files/gitlab.rb b/ansible/roles/gitlab/files/gitlab.rb index eb75f9f..64d9d55 100644 --- a/ansible/roles/gitlab/files/gitlab.rb +++ b/ansible/roles/gitlab/files/gitlab.rb @@ -26,8 +26,8 @@ gitlab_rails['redis_port'] = 6379 gitlab_rails['gitlab_default_theme'] = 2 -nginx['real_ip_trusted_addresses'] = ['0.0.0.0/0'] -gitlab_rails['trusted_proxies'] = ['0.0.0.0/0'] +nginx['real_ip_trusted_addresses'] = ['172.80.0.0/16'] +gitlab_rails['trusted_proxies'] = ['172.80.0.0/16'] nginx['real_ip_header'] = 'X-Forwarded-For' gitlab_pages['enable'] = false