Docker 安装的Gitlab怎么才能调用用另一个Docker容器里的nginx

如题,系统CentOS7,安装官方文档安装了gitlab之后修改了gitlab.rb文件

# Define the external url
external_url 'http://git.stupidpz.com'

# Disable the built-in nginx
nginx['enable'] = false

# Disable the built-in puma
puma['enable'] = false

# Set the internal API URL
gitlab_rails['internal_api_url'] = 'http://git.stupidpz.com'

# Define the web server process user (ubuntu/nginx)
web_server['external_users'] = ['stupidpz']

除此之外没有做其他任何修改
在执行了重新加载命令之后用无论用域名,域名+端口号还是什么方式都访问不到gitlab,一步步查看日志发现在logs/gitlab-workhorse中的一个current日志文件里出现了下面一串错误

{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial tcp 127.0.0.1:8080: connect: connection refused","level":"error","method":"GET","msg":"","time":"2023-01-25T10:10:24Z","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial tcp 127.0.0.1:8080: connect: connection refused","level":"error","method":"GET","msg":"","time":"2023-01-25T10:10:34Z","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial tcp 127.0.0.1:8080: connect: connection refused","level":"error","method":"GET","msg":"","time":"2023-01-25T10:10:44Z","uri":""}
{"correlation_id":"","duration_ms":1,"error":"badgateway: failed to receive response: dial tcp 127.0.0.1:8080: connect: connection refused","level":"error","method":"GET","msg":"","time":"2023-01-25T10:10:54Z","uri":""}

除了修改gitlab.rb文件,我没修改过其他任何地方,我想知道怎么才能让gitlab正常调用另一个docker里面安装的nginx,因为这台服务器还有其他的服务要跑.是我应该修改的地方没有改到吗?

另外我发现,无论是cn社区还是英文社区使用qq邮箱都无法注册,收不到验证码,不知道是个例还是什么情况.但是英文社区在注册成功但邮箱没确认的的情况下允许重新登录修改邮箱,但是cn社区在注册成功但邮箱没有确认时登录提示密码错误,没法修改注册邮箱.重新注册又提示用户名占用.