title: how to change config server uri dynamically using OS environment
body: <p>I have a <code>spring config server</code> and <code>spring config client</code>. In client I have set <code>spring.cloud.config.uri</code> to <code>http://localhost:8888</code> but I want to change it to some other uri say <code>http://example.com:8888</code> in windows using OS environment with <code>setx</code>. so I ran</p>
  
  <pre><code>setx spring.cloud.config.uri "http://example.com:8888" 
  </code></pre>
  
  <p>but when I run my <code>spring config client</code> it's still trying to read from <code>localhost</code> . As per <a href="https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config" rel="nofollow">this</a> link my <code>spring.cloud.config.uri</code> in <code>bootstrap.yml</code> should get override by what i set with <code>OS environment</code> but it didn't. Please let me know what I am doing wrong here.</p>