From 8c4397d39af426af0f41299e46c0eeaa1c60148e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 5 Sep 2020 22:29:16 +0100 Subject: [PATCH] Set rails trusted proxies --- ansible/roles/gitlab/files/gitlab.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/gitlab/files/gitlab.rb b/ansible/roles/gitlab/files/gitlab.rb index eb90db2..eb75f9f 100644 --- a/ansible/roles/gitlab/files/gitlab.rb +++ b/ansible/roles/gitlab/files/gitlab.rb @@ -27,6 +27,7 @@ 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_header'] = 'X-Forwarded-For' gitlab_pages['enable'] = false