Changing the default Gitlab port

后端 未结 3 1230
你的背包
你的背包 2021-02-06 15:11

I have installed the latest Gitlab-CE (8.10) on CentOS 7 (fresh install) via the Omnibus package as described here: https://about.gitlab.com/downloads/#centos7

Now, I wo

3条回答
  •  滥情空心
    2021-02-06 15:17

    Issue here: https://gitlab.com/gitlab-org/gitlab-ce/issues/20131 Workaround: add this line to /etc/gitlab/gitlab.rb:

    nginx['proxy_set_headers'] = { "X-Forward-Port" => "8080", "Host" => ":8080" }
    

    replace port and hostname with your values, then as root or with sudo:

    gitlab-ctl reconfigure
    gitlab-ctl restart
    

    It helps me on Debian 8.5, gitlab-ce from gitlab repo.

提交回复
热议问题