Server-side Gitlab URL rewriting?
Our old BitBucket server had a URL like this,
And, we're wanting to move to GitLab with a DNS switch which has a different URL-convention namely
/scm/is what I'd like to fix. Is there a way to rewrite URLs through configuration of the GitLab server such that I can make
Note, I know I can change the "Custom Git clone URL for HTTP(S)" and "Replaces the clone URL root" under GitLab's
GitLab omnibus and self-managed installs ship with NGINX which is exposed and documented here,
You basically edit the
nginx['custom_gitlab_server_config']and then rerun
gitlab-ctl reconfigureto regenerate the nginx confs and restart nginx.