【发布时间】:2017-12-19 09:05:11
【问题描述】:
我使用本手册https://docs.gitlab.com/ce/install/installation.html从源代码安装了Gitlab
现在 GitLab 在地址 http://gitlab.example 上工作。我想将主机名更改为 192.168.1.1/gitlab。
I changed in file /home/git/gitlab/config/gitlab.yml
host: gitlab.example to host: 192.168.1.1/gitlab
in file /home/git/gitlab-shell/config.yml
gitlab_url: http://gitlab.example
to gitlab_url: http://192.168.1.1/gitlab
I use Apache2.4 and configure with this example
https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/apache/gitlab-apache24.conf
I changed ServerName gitlab.example to gitlab or 192.168.1.1/gitlab
但它不起作用。 我忘记了什么?如何更改 gitlab 的 URL。 我可以同时使用 gitlab.example 和 192.168.1.1/gitlab 吗? 感谢您的回答。
【问题讨论】:
标签: gitlab ubuntu-16.04 apache2.4