title: Serving static content from spring cloud config-server
body: <p>All of our spring cloud microservices make use of Spring REST docs to generate documentation and serve it from <code>/docs/index.html</code>. This works well.</p>
  
  <p>Not so for the config server. I'm running it embedded with <code>@EnableConfigServer</code>. I've moved the config root to <code>/config</code> with <code>spring.cloud.config.server.prefix</code> and can see that it has indeed been relocated both in the config server startup logs and the Eureka <code>metadataMap</code> for the config server (nice bit of integration there).</p>
  
  <p>The documentation <code>index.html</code> is bound into the spring boot jar at the correct <code>/static/docs/index.html</code> location but it is not reachable on the config server's port. </p>
  
  <p>I must be missing something straightforward here. What do I need to do to re-enable <code>/static</code> as a root for static resources in the jar?</p>