Wrong Base URL in Git Repository view

Issue #483 resolved
Anonymous created an issue

Hi, when I access the Git Repository view (ex. https://my-scm-manager/git/MyProject), the Links to Commits and Source are not working, because instead of the configured base URL the links are generated with as the host. We are running scm-mamager behind a nginx HTTP Proxy and is where the tomcat is running internaly.

It seems, that getChangesetUrl and getBrowseUrl in line 150 and 151 in scm-git-plugin/src/main/java/sonia/scm/web/GitRepositoryViewer.java return a wrong url.