title: Auto-Proxy services with Consul Service Discovery
body: <p>I am attempting to move from Eureka to Consul for service discovery and am having an issue - my gateway service registers and my customer-service registers, but the gateway service will not route requests to the customer-service automatically.  Routes I have specifically defined in the gateway Controller that use Feign clients to route work fine, but before (with Eureka) I could make a request to any path like "/customer-service/blah" (where customer-service is the registered name) and the gateway would just forward the request on to the downstream microservice.</p>
  
  <p>Here is my gateway bootstrap.yml (it's in bootstrap and not application because I am also using consul for config)</p>
  
  <pre><code>    spring:
    application:
      name: gateway-api
    cloud:
      consul:
        config:
          watch:
            wait-time: 30
        discovery:
          prefer-ip-address: true
          instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
  </code></pre>