Spring Config Server 是否可以从自身获取配置?

Is there possibility to Spring Config Server gets config from itself?

是否有可能或解决方法告诉 Spring 配置服务器从自身获取配置?根据配置文件,我有一些适用于所有 Spring 启动应用程序的通用配置,我希望配置服务器无需复制粘贴即可访问它们。

来自docs

An optional property that can be useful in this case is spring.cloud.config.server.bootstrap which is a flag to indicate that the server should configure itself from its own remote repository.

所以设置spring.cloud.config.server.bootstrap=true.