0
我已经将gerrit从2.11.7升级到2.14.1,我无法理解为什么在UI中,当我点击项目时,gerrit将它的克隆URL显示为只有http,但没有httpshttps git克隆网址不再可见
git clone http://[email protected]/git/a/project
它曾经是早期版本的https,任何想法是什么改变了?
我已经将gerrit从2.11.7升级到2.14.1,我无法理解为什么在UI中,当我点击项目时,gerrit将它的克隆URL显示为只有http,但没有httpshttps git克隆网址不再可见
git clone http://[email protected]/git/a/project
它曾经是早期版本的https,任何想法是什么改变了?
您是否在GERRIT_SITE/etc/gerrit.config选项中使用了“https”,如下例所示:
[httpd]
listenUrl = proxy-https://localhost:8080/
[gerrit]
canonicalWebUrl = https://GERRIT-SERVER/
我们使用nginx的作为反向代理和负载平衡器正在HTTPS的护理所以我们将其设置为仅代理HTTP://127.0.0.1:8081 /和canonicalWebUrl = HTTP:// GERRIT-SERVER / – devops