How to update the default IP in the git URL?

Hi,

I restored the GitLab backup on a new host.

The IP on the new host is different from the old host, so I manually updated the IP to the old IP as used before.

But I found the IP in the clone URL is still the original IP of the new host, not the same as the IP on the old host.

I cannot find any options to update the default URL in settings.

Is there a way to update the default URL or to be synchronized with the current IP?

The GitLab version is 11.5.2-ee.

Thanks,
Jason

Hi @hyj1116

the value is controlled using external_url parameter in gitlab.rb.

1 Like