mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
removed relative_url_root config from application.rb
This commit is contained in:
parent
3573f8a2d8
commit
d6579530e3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user