From d6579530e3acffe28fa4c17d292a1919542cb8bc Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Mon, 30 Nov 2015 10:43:47 +0530 Subject: [PATCH] removed `relative_url_root` config from `application.rb` --- assets/runtime/functions | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/runtime/functions b/assets/runtime/functions index 538ee08d..c1c9e946 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -650,7 +650,6 @@ nginx_configure_gitlab_relative_url() { sed -i 's|{{GITLAB_RELATIVE_URL_ROOT__with_trailing_slash}}|'"${GITLAB_RELATIVE_URL_ROOT}/"'|g' /etc/nginx/sites-enabled/gitlab sed -i 's|# alias '"${GITLAB_INSTALL_DIR}"'/public|alias '"${GITLAB_INSTALL_DIR}"'/public|' /etc/nginx/sites-enabled/gitlab - exec_as_git sed -i 's|# config.relative_url_root = "/gitlab"|config.relative_url_root = "'${GITLAB_RELATIVE_URL_ROOT}'"|' ${GITLAB_INSTALL_DIR}/config/application.rb exec_as_git sed -i 's|# relative_url_root: {{GITLAB_RELATIVE_URL_ROOT}}|relative_url_root: '${GITLAB_RELATIVE_URL_ROOT}'|' ${GITLAB_INSTALL_DIR}/config/gitlab.yml else sed -i 's|{{GITLAB_RELATIVE_URL_ROOT}}|/|' /etc/nginx/sites-enabled/gitlab