My intention is to run gitlab at http://domain/gitlab instead of
http://domain. i see this isn't recommended, however, our development
environment requires this.
I've found a number of posts about this, and there is a section of the
gitlab.yml that documents this, however, none of them take into account the
omnibus-gitlab application.rb configuration file.
I see this snippet in the gitlab.yml
# Uncomment and customize the last line to run in a non-root path
# WARNING: We recommend creating a FQDN to host GitLab in a root path
instead of this.
# Note that four settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# 4) In ../gitlab-shell/config.yml: gitlab_url:
"http://127.0.0.1/gitlab"
# relative_url_root: /gitlab
Can all of these steps be completed with the main config now or do i need
to modify additional files still? I think the directions may be a bit
different now that i'm using another application.rb for omnibus-gitlab?
I'm also a bit confused on step 1, per the new install directions, my
application.rb should include the follwoing to set realtive_url_root:
gitlab_rails['gitlab_relative_url_root'] = '/git'
Has anyone done this successfully? I'd appreciate some guidance.
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/dfe176cc-dace-4de3-84cb-4a8b19e43334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.