新版本Spring Cloud (Finchley.RELEASE) Spring Boot (2.0.3.RELEASE),spring cloud config server的配置文件如下:
server:
port: 8888
spring:
cloud:
config:
server:
git:
uri: https://github.com/test/config-server.git
application:
name: config-server
management:
endpoints:
web:
exposure:
include: "*"
注意uri后面要加.git