Closed kadrach closed 2 years ago
Hmm. How does that combine with having the root of gitlab at gitlab.example.com/gitlab/ ? Or does gitlab not support having its root in a subdirectory?
Only tested for my own usecase :)
I agree, this would need to be addressed. Not sure what's the best way there.
Gitlab supports relative context paths (whatever these are called), see https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-a-relative-url-for-gitlab
Hmm. How does that combine with having the root of gitlab at gitlab.example.com/gitlab/
maybe I am a bit naive, but I don't get the problem with gitlab being in a given path from the host:
you can substract the gitlab path from the url path, isn't it?
Except that the code as posted does not do this :smile:
I don't object to this feature, but the implementation above is not good enough. If you implement it the way you describe, it should be good to go.
GitLab not too long ago introduced nested namespaces, called subgroups on Gitlab.
Something like the snippet below works for my usecase, but I've simply removed the sanity check.