From 3d60b0dc147f8bb63cf9909c1bb7779e0cdb1f23 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 29 Oct 2014 15:20:22 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-config.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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
  • Encryption and Decryption
  • Key Management
  • Creating a Key Store for Testing
  • +
  • Embedding the Config Server
  • Spring Cloud Config Client @@ -818,6 +819,19 @@ your application.yml for the Config Server:

    +
    +

    Embedding 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).

    +
    +
    @@ -1218,7 +1232,7 @@ grabbing it in the bootstrap context and injecting one).