diff --git a/docker-compose.yml b/docker-compose.yml index 1f0b27c..db71422 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: nginx['enable'] = false gitlab_workhorse['listen_network'] = "tcp" gitlab_workhorse['listen_addr'] = "0.0.0.0:80" - gitlab_rails['trusted_proxies'] = ['$hostname'] + gitlab_rails['trusted_proxies'] = ['127.0.0.1'] # 需要配置到 gitlab.rb 中的配置可以在这里配置,每个配置一行,注意缩进。 # 比如下面的电子邮件的配置: # gitlab_rails['smtp_enable'] = true