title: Spring Cloud: default redirecting from Gateway to UI
body: <p>I'm new to microservices and Spring Boot. I have a few Spring Cloud microservices with a Zuul gateway running on port 8080.</p>
  
  <pre>   browser
        |
        |
      gateway   (:8080)
       /   \
      /     \
     /       \
  resource   UI (:8090)
  </pre>
  
  <p>There is a UI microservice on port 8090, which has a controller with a method inside, returning index.html. </p>
  
  <p>I configured Zuul routing like this for UI (I'm using Eureka too):</p>
  
  <pre><code>zuul:
    routes:
      ui:
        path: /ui/**
        serviceId: myproject.service.ui
        stripPrefix: false
        sensitiveHeaders:
  </code></pre>
  
  <p>If I call <code>http://localhost:8080/ui/</code> everything works fine and I see rendering of my index.html. </p>
  
  <p>Is it possible to configure Spring Cloud in some way to make the following flow work: calling <code>http://localhost:8080/</code> redirects us to controller of UI microservice, which returns index.html?</p>
  
  <p>So the idea is to open UI from the root of my site. </p>
  
  <p>Thanks in advance!</p>