mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
Update change_url
This commit is contained in:
parent
0e25a7512e
commit
8230b18b60
1 changed files with 1 additions and 6 deletions
|
@ -52,11 +52,6 @@ fi
|
||||||
#doc in: https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
|
#doc in: https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
|
||||||
|
|
||||||
# Gitlab configuration
|
# Gitlab configuration
|
||||||
|
sudo sed -i "s@https://$old_domain@https://$new_domain@" /etc/gitlab/gitlab.rb
|
||||||
sed -i "s@GENERATED_EXTERNAL_URL@https://$new_domain@" ../conf/gitlab.rb
|
|
||||||
sed -i "s@PORTNGINX@$portNginx@" ../conf/gitlab.rb
|
|
||||||
sed -i "s@PORTUNICORN@$portUnicorn@" ../conf/gitlab.rb
|
|
||||||
|
|
||||||
sudo cp -f ../conf/gitlab.rb /etc/gitlab/gitlab.rb
|
|
||||||
|
|
||||||
sudo gitlab-ctl reconfigure
|
sudo gitlab-ctl reconfigure
|
||||||
|
|
Loading…
Add table
Reference in a new issue