Gitlab端口8080 [英] Gitlab on port 8080

查看:605
本文介绍了Gitlab端口8080的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试将Gitlab omnibus安装在我的私有Debian服务器上,并且在端口80上运行正常,问题是我还有一个Apache服务器侦听端口80.所以我试图得到Nginx 8080端口听,但由于某些原因,我得到一个
502
Gitlab没有响应错误
我编辑了gitlab.rb中的external_url,还有nginx.conf文件中的服务器块下的端口号。没有快乐。



如果有人可以帮助我,那将是巨大的!

解决方案>

很可能你有另一个服务在8080听,我认为这个综合安装有一些服务挂钩8080 - 只是使用8081。



编辑: 我刚刚做了一个快速的搜索,发现这是使用原始的omnibus安装程序听8080的独角兽服务器。



注意: strong>您只需要更改gitlab.rb中的external_url,则不需要编辑其他配置文件。



编辑#2: / strong>正如@emeraldjava所说,配置文件中有一个选项用于使用另一个独角orn口: #unicorn ['port'] ='8080'


I'm currently in the process of trying to get Gitlab omnibus installed on my private Debian server, and it works perfectly on port 80, the problem is I also have an Apache server listening on port 80. So I'm trying to get Nginx listening on port 8080 but for some reason I'm getting a "502 Gitlab is not responding" Error I have edited both "external_url" in gitlab.rb and also the port number under the server block in the nginx.conf file. and no joy.

If someone could help me that would be great!

解决方案

Most likely you have another service listening on 8080, I think the omnibus install have some service hooking 8080 - just use 8081 instead.

Edit: I just did a quick search and found that it's the unicorn server that is listening to 8080 with the original omnibus installer.

Note: You will only need to change the external_url in gitlab.rb, no other config file should have to be edited for this.

Edit#2: As @emeraldjava stated there is an option in the configuration file for using another unicorn port: #unicorn['port'] = '8080'

这篇关于Gitlab端口8080的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆