1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Update nacos-config.adoc

This commit is contained in:
pbting 2018-11-28 11:26:03 +08:00 committed by GitHub
parent 6e85bbf2c1
commit 19bb1d71c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,6 +203,8 @@ spring-cloud-starter-alibaba-nacos-config 在加载配置的时候,不仅仅
spring.profiles.active=develop
----
NOTE: ${spring.profiles.active} 当通过配置文件来指定时必须放在 bootstrap.properties 文件中。
Nacos 上新增一个dataid为nacos-config-develop.yaml的基础配置如下所示
[source,subs="normal"]