URL rewriting using kong plugin

Hi all,

one of my micro service exposes several urls (services)

Ex:
/myservice/actuator/health
/myservice/foo

I just want my first url to be rewritten as :
/actuator/health

the second one should keep the “prefix”.

I found the request-transformer kong plugin I already used for http header add but the replace.uri parameter will replace both of the uri, right ? not only the one I want to …

Any suggestion please ?

Thanks

Did you find any solutions for your issue? I am also having the same issue here. If you have found any solutions or ideas, you could guide me! Thanks.