问题
So I am creating application using microservice architecture. I have few microservices and I want to configure all in kong with custom routes/url.
For example: I have user service and location service and I want those routes in kong looks like this:
GET http://localhost:8001/service/user/list --> http://user-service-url.com/user_list
GET http://localhost:8001/service/location/122332--> http://location-service-url.com/get/122332
I have searched all over the internet and couldn't find anything. Is this possible to achieve in kong ?
Thanks
来源:https://stackoverflow.com/questions/61687855/in-kong-api-gateway-how-to-make-custom-url