Gitlab端口8080

编程入门 行业动态 更新时间:2024-10-25 14:29:49
本文介绍了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

本文发布于:2023-08-07 13:57:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1319431.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端口   Gitlab

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!