# 服务端口 server.port=8081 spring.application.name=config-server spring.profiles.active=native # 绝对路径 spring.cloud.config.server.native.search-locations=file:///D:/libdev/wwwroot/config # 相对路径 #spring.cloud.config.server.native.search-locations=classpath:/config # svn #spring.profiles.active=subversion #spring.cloud.config.server.svn.uri=https://192.168.1.10/svn/config/ #spring.cloud.config.server.svn.username=songwt #spring.cloud.config.server.svn.password=123456 #spring.cloud.config.label=trunk
如果配置绝对路径时,Windows一定要记得是 file:///