I am using kong 2.5 for APIs and Microservice routing and I got a requirement to place react ui application behind kong.so,I have created below service pointing to my UI application.
{host : www.example.com,
protocol : http,
path: /,
port: 80}
I have created route for the same.
{
Host : www.mykongeg.com,
Paths : {/maps/home},
strip_path : false,
preserve_host : false
}
Kong domain : www.kongeg.com
So when I tried to access ‘www.kongeg.com/maps/home’, it is redirecting to ‘www.example.com/maps/home’ on browser.
is it possible to preserve kong domain name on browser without modifying to service url ?. so when I access ‘www.kongeg.com/maps/home’, it should display content returned by ‘www.example.com/maps/home’.
Thanks