How can I use ssh:// styled URLs in the web?

I changed the SSH port to a custom one and modified the GitLab configuration file as well.

But after I ran sudo gitlab-ctl reconfigure, I found that the URLs displayed in web were still in format. This usually makes users confused.

How can I turn to ssh:// styled links?

I’m running GitLab CE 7.13.2 on Ubuntu 14.04.2. Please help, thanks.

Have you tried clearing the caches?

Run gitlab-rake cache:clear to do so.

Thanks! It worked like a charm!