diff --git a/spring-cloud-config.html b/spring-cloud-config.html index e389ec76..a631727b 100644 --- a/spring-cloud-config.html +++ b/spring-cloud-config.html @@ -1038,6 +1038,31 @@ that should be applicable. HTTPS proxy settings can be set in system properties (-Dhttps.proxyHost and -Dhttps.proxyPort).

+
+
Placeholders in Git Search Paths
+
+

Spring Cloud Config Server also supports a search path with +placeholders for the {application} and {profile} (and {label} if +you need it). Example:

+
+
+
+
spring:
+  cloud:
+    config:
+      server:
+        git:
+          uri: https://github.com/spring-cloud-samples/config-repo
+          searchPaths: {application}
+
+
+
+

searches the repository for files in the same name as the directory +(as well as the top level). Wildcards are also valid in a search +path with placeholders (any matching directory is included in the +search).

+
+

File System Backend

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