我已经设置了gitlab,如本教程所述:https://github.com/gitlabhq/gitlabhq/blob/6-4-stable/doc/install/installation.md
现在我需要换一下独角兽正在听的端口。我已经更改了unicorn.rb文件。然而,独角兽仍然试图连接到8080端口。
我遗漏了什么?
发布于 2014-03-12 06:56:16
您需要在重新启动Unicorn (如在log/unicorn.stderr.log中)时,在更改config/unicorn.rb之后检查日志。
您将看到根本原因(例如,第2236期)
与第4928期一样,首先要确保独角兽被阻止(在第5451期中也是如此)。
更新Q4 2017 (3年后)
皮帕里马库斯在这个答案中使用wiht GitLab 10.4报告设置:
unicorn['port'] = 8081
gitlab_workhorse['auth_backend'] = "http://localhost:8081"然后跑:
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart换独角兽端口就够了。
https://stackoverflow.com/questions/22339743
复制相似问题