title: Zuul proxy not routing
body: <p>While working on spring Microservices I am not able to route api through zuul proxy </p>
  
  <p>This is my code</p>
  
  <p>eurka:</p>
  
  <p>application.yml</p>
  
  <pre><code>spring:
    application:
      name: api
    cloud:
      config:
        enabled: true
  
  server:
    port: ${PORT:8761}
  
  
  eureka:
    client:
      registerWithEureka: false
      fetchRegistry: false
      serviceUrl:
        defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
    instance:
      hostname: localhost
  </code></pre>
  
  <p>zuul:</p>
  
  <p>application.yml</p>
  
  <pre><code>spring:
    application:
      name: proxy-server
  
  server:
    port: 8079
  
  eureka:
    client:
      serviceUrl:
        defaultZone: http://localhost:8761/eureka
    fetchRegistry: true
  
  zuul:
    ignored-services: '*'
    prefix: /api
    routes:
      account:
          path: /account/**
          serviceId: account
          stripPrefix: false
    host:
      socket-timeout-millis: 30000
  
  ribbion:
    eureka:
      enabled: true
  </code></pre>
  
  <p>account
  application.yml</p>
  
  <pre><code>ribbion:
    eureka:
      enabled: true
  
  
  eureka:
    instance:
      preferIpAddress: true
    client:
      serviceUrl:
        defaultZone: ${EUREKA_URI:http://localhost:8761/eureka}
      instance:
        preferIpAddress: true
  </code></pre>
  
  <p>dependency:</p>
  
  <pre><code>&lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
              &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
              &lt;version&gt;Finchley.SR1&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  </code></pre>
  
  <p>Now the url <code>localhost:8080/user/</code> is working fine but <code>localhost:8080/api/account/user/</code> is throwing a 404. </p>
  
  <p>Not sure what wrong I am doing here, any insight will be helpful please let me know if you need other details</p>