title: Spring Cloud Config Server serving nested plain text files
body: <p>I have a Config Server up and running, with the relevant application.yml setting of</p>
  
  <pre><code>spring:
    application:
      name: config
      ...
        searchPaths:
          - '{application}'
          - '{application}/{profile}'
  </code></pre>
  
  <p>I would like to access a file that is not <code>application.properties</code>, something like <code>myfile.txt</code>. If I have the git layout</p>
  
  <pre><code>/myapp/nested/folder/myfile.txt
  </code></pre>
  
  <p>I want to be able to access that file. According to <a href="https://cloud.spring.io/spring-cloud-config/multi/multi__serving_plain_text.html" rel="nofollow noreferrer">the Spring Config Server docs</a>, I should be able to do this via <code>/{name}/{profile}/{label}/{path}</code>, but I can't get any paths to work.</p>
  
  <p>TL;DR: How do I retrieve nested config files from a git repo via Config Server?</p>