diff --git a/assets/runtime/config/gitlabhq/gitlab.yml b/assets/runtime/config/gitlabhq/gitlab.yml index e8b07eaf..a8acc442 100644 --- a/assets/runtime/config/gitlabhq/gitlab.yml +++ b/assets/runtime/config/gitlabhq/gitlab.yml @@ -40,7 +40,7 @@ production: &base # WARNING: See config/application.rb under "Relative url support" for the list of # other files that need to be changed for relative url support - # relative_url_root: {{GITLAB_RELATIVE_URL_ROOT}} + relative_url_root: {{GITLAB_RELATIVE_URL_ROOT}} # Uncomment and customize if you can't use the default user to run GitLab (default: 'git') # user: git diff --git a/assets/runtime/functions b/assets/runtime/functions index ed59128f..a46b81d2 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -920,6 +920,7 @@ configure_gitlab() { exec_as_git sed -i 's|{{GITLAB_HOST}}|'"${GITLAB_HOST}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml exec_as_git sed -i 's|{{GITLAB_PORT}}|'"${GITLAB_PORT}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml + exec_as_git sed -i 's|{{GITLAB_RELATIVE_URL_ROOT}}|'"${GITLAB_RELATIVE_URL_ROOT}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml exec_as_git sed -i 's|{{GITLAB_HTTPS}}|'"${GITLAB_HTTPS}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml exec_as_git sed -i 's|{{GITLAB_MAX_SIZE}}|'"${GITLAB_MAX_SIZE}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml exec_as_git sed -i 's|{{GITLAB_SSH_HOST}}|'"${GITLAB_SSH_HOST}"'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml