Well, Gitweb + ssh://git@host is out of date. Even we use it for almost 2 years.
We are migrating our repositories to Gitlab which we benefit from its “issue” a lot.
Please follow this scripts I wrote.
https://raw.githubusercontent.com/lofyer/onekey-deploy/master/gitlab/install.sh