Front End routing in Kong

1.1k Views Asked by At

I have a couple of microservices and a frontend running over different ports exposed via Kong.

The issue is even for routes like "/add", "/edit", "/swagger" etc., the route for frontend which is "/" gets called.

Service: abc-microservice Path: /abc/swagger Strip_Path: false Preserve Host: true

Service: frontend Route: / Strip_Path: false Preserve Host: true

Expectation: PUT POST for www.xyz.com/abc/swagger leads to www.xyz.com/abc/swagger

Actual: PUT POST for www.xyz.com/abc/swagger leads to www.xyz.com/ which is the frontend.

How do I tackle this particular issue?

0

There are 0 best solutions below