Change SSH repo url in GitLab

Viewed 6640

I have gitlab on my server. URL, for example: https://git.site.com

On project page I have similar URL for my repo:

enter image description here

How I can change path only for ssh repo path? I need IP address of my server, not URL

2 Answers

Change this in the /etc/gitlab/gitlab.rb

gitlab_rails['gitlab_ssh_host'] = 'gitssh.example.com'

and then run gitlab-ctl reconfigure

Related