Resource not found when tailing slash missing Spring cloud Zuul

Viewed 827

I am using spring-cloud-starter-zuul as a gateway to my multiple applications. When I try to call my angular2 application with slash http://localhost:8080/console/ it is working fine but when I call without slash http://localhost:8080/console getting 404 (Not Found) error.

Here is my zuul config

zuul:
  routes:
    angui:
      path: console/**
      url: http://localhost:8888/
    service1:
      path: service1/**
      url: http://service1URL
    service2:
      path: service2/**
      url: http://service2URL
1 Answers
Related