Gitlab:无法通过http克隆(通过ssh克隆效果很好)

kba*_*sis 6 git git-clone gitlab

我正在运行Gitlab 5.4并且最近尝试通过我的服务器的http进行git克隆.我发现即使通过ssh进行克隆效果很好,它也不起作用.

这是错误:

git clone http://myservername/gitlab/myrepo.git
Cloning into '<repo>'...
remote: Not Found
fatal: repository 'http://<myservername>/gitlab/<repo>.git/' not found
Run Code Online (Sandbox Code Playgroud)

这是production.log输出(没有产生错误)

Started GET "/gitlab/<repo>.git/info/refs?service=git-upload-pack" for xx.xx.xx.xx at 2013-08-13 02:24:46 +0000
Run Code Online (Sandbox Code Playgroud)

这里有关于这个问题的更多信息... gitlabhq问题#4766

Shi*_*kin 1

我猜可能是防火墙?但网络服务器也应该正在运行。

使用浏览器请求 url 会得到什么?