定制的relative_url_root(http://mydomain/gitlab)上的Omnibus Gitlab版本7.4.3 [英] Omnibus Gitlab version 7.4.3 at a custom relative_url_root (http://mydomain/gitlab)

查看:61
本文介绍了定制的relative_url_root(http://mydomain/gitlab)上的Omnibus Gitlab版本7.4.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了旧版本的gitlab,并将其托管在这样的位置:

I have successfully installed older versions of gitlab and hosted them at a location like this:

mydomain/gitlab

使用新版本的gitlab通过gitlab-ctl进行所有配置,并通过我编辑/etc/gitlab/gitlab.rb,我不确定如何实现此设置.

with the new version of gitlab doing all of the config though the gitlab-ctl and via me editing the /etc/gitlab/gitlab.rb I'm not sure how to achieve this set-up.

我在不使用gitlab-ctl进行配置但不使用新版本的gitlab较旧版本的stackexchange上找到了大量文档.目前,我已经在以下位置安装了gitlab并可以正常运行:

I find lots of documentation on stackexchange for older versions of gitlab that did not use gitlab-ctl for configuration but not for the new version. Presently I have gitlab installed and running fine at:

mydomain

我想将其移至:

mydomain/gitlab

有人知道如何针对7.4.3版执行此操作吗?

Anybody know how to do this for version 7.4.3?

谢谢:)

推荐答案

在Omnibus GitLab上似乎根本没有实现从相对URL根目录提供服务:

Serving from a relative URL root seems to be simply not implemented on Omnibus GitLab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/ed51ec97401bba955c93e61f8ef860520f745837/files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb#L24 (since no template variable is inserted there)

您可以通过手动修改所有必需的配置文件来解决此问题,如关于gitlab.yml的注释中所述,但这确实是很多手动工作,如果重新配置,这些配置将被覆盖,因此我建议您在以下位置请求功能: http://feedback.gitlab.com/forums/176466-general并发送实现该请求的拉取请求.

You could work around that by modifying all the required configuration files manually as explained in the comment on gitlab.yml, but that would really be a lot of manual work and those configs would get overwritten if you reconfigure, so I recommend you request the feature at: http://feedback.gitlab.com/forums/176466-general and send a pull request implementing that.

此问题也出现在: 查看全文

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