diff --git a/spring-cloud-config.html b/spring-cloud-config.html index 369d281a..2058f76a 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -426,6 +426,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
application.yml for the Config Server:
+The Config Server runs best as a standalone application, but if you
+need to you can embed it in another application. Just use the
+@EnableConfigServer annotation and (optionally) set
+spring.cloud.config.server.prefix to a path prefix, e.g. "/config",
+to serve the resources under a prefix. The prefix should start but not
+end with a "/". It is applied to the @RequestMappings in the Config
+Server (i.e. underneath the Spring Boot prefixes server.servletPath
+and server.contextPath).