After a couple of years experimenting with fossil as my scm, I’m moving back to git… and scm-manager. I can’t remember for sure, but it seems like the urls used to be shorter, currently, I have a code repo hosted on scm-manager (and about 8 others), the url looks like:
http://odin:8080/scm/repo/scmadmin/code
I thought it used to be something along the lines of:
http://odin:8080/repos/code
or even
http://odin:8080/code
Is this possible or am I misremembering (used version 1 and 2 and maybe even early 3…)?
no this is not possible. You can remove the scm part of the path, by setting the context path. For more information take a look here. Alternatively you could use a reverse proxy to redirect the shorter urls to the actual ones.
In nginx log is see that request to /scmadmin/My_REPO was rewriten to /scm/repo/scmadmin/My_REPO, but:
Browser show me header, footer and no contentof repo’s main page. Log reports:
host: "svn"
upstream prematurely closed connection while reading response header from upstream,
TortioseSVN shows error “invalid path” on attempts to checkout repo or commit changes. While actualy i still can commit but there is an error.
Yep, i’ve used this manual to configure nginx
So, the question is - do anybody have successfull example of shortening url IRL ?