Set rails trusted proxies

This commit is contained in:
Jake Howard 2020-09-05 22:29:16 +01:00
parent 2af3241bd2
commit 8c4397d39a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -27,6 +27,7 @@ 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'] = ['0.0.0.0/0']
gitlab_rails['trusted_proxies'] = ['0.0.0.0/0']
nginx['real_ip_header'] = 'X-Forwarded-For' nginx['real_ip_header'] = 'X-Forwarded-For'
gitlab_pages['enable'] = false gitlab_pages['enable'] = false