This commit is contained in:
Zengtudor 2024-10-16 22:49:04 +08:00
parent 95a84514da
commit eec3f55917

View File

@ -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