springcloud config 无法读取gitlab配置

在gitlab上创建了私有库,写了配置文件但是使用springcloud config一直无法访问到网站,经检查代码没有问题,发现问题如下

 

 

在gitlab上私有仓库只能通过配置ssh来进行访问,而配置的springcloud config则是https地址,所以会出现访问不了网站的情况

 

posted @ 2018-11-06 19:22  欣欣而来  阅读(2421)  评论(2)    收藏  举报