Is there a way we can have different upstream url than what the client calls


#1

Hello guys, i am using kong 1.0.3
i have same micro-service deployed in two countries.
lets say country A and country B. They both will have same endpoints.
i want to achieve the following in KONG.

client calls kong with
/A/api => kong => service-A/api
/B/api => kong => service-B/api

i want to have two services in kong
here the api path is same for different services. service-A and service-B.


Strip part of URI
#2

If it is /A/api and /B/api, are those not different?

If they are the same, you could use Upstreams and Targets in Kong to forward traffic and load balance across the two instances of your service.