somno1ency commented on issue #9651:
URL: https://github.com/apache/apisix/issues/9651#issuecomment-1590343498

   and another thing, in my case, the request url for service-1 is 
https://gateway.xx.com/anything to forward to http://internal-dns/service-1, 
please pay attention, the anything is just a virtual part, just used for pretty 
the url, that said there is no need a api in service-1 which it's route is 
anything, now with apisix, I found that the request uri (anything) will become 
a part of the target api, but most scenes, there is no need become a part of 
the target api, kong have a boolean config call "strip path" to make it to 
virtual, used it to pretty url, no effected with the target, so how can I do in 
apisix, I think it's very useful
   
   now in apisix, a route like "anything" forward to 
http://internal-dns/service-1 required the service-1 have an api named 
anything, so actually http://gateway.xx.com/anything/aa will forward to 
http://internal-dns/service-1/anything/aa, what I want is to strip the 
anything, so I expected http://gateway.xx.com/anything/aa forward to 
http://internal-dns/service-1/aa, how can I do with apisix dashboard?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to