Replies: 5 comments
-
I am not 100% of what you are asking - in Kong, paths are managed by Routes while Services usually refer to "hosts". Could you give us a more specific example of what you want? In any case Kong does not have a plugin that suits your needs, you can try with a community plugin. For example here's one redirect plugin from stone-payments: |
Beta Was this translation helpful? Give feedback.
-
I guess you mean to use: redirection: send response to client to go another place |
Beta Was this translation helpful? Give feedback.
-
What I described was a little confusing. Just like a request come from www.x.com/a/b, I want to send it to www.y.com/c/d. |
Beta Was this translation helpful? Give feedback.
-
No, just a proxy. You can think that I want to anonymize real path, so I expose a virtual path to client. The real path is invisible to the user. |
Beta Was this translation helpful? Give feedback.
-
Kong by default is only able to "strip" parts or the full path of a request. In order to make a redirect to a different path you will need to use a plugin, like the one I linked on my first response, or else make a custom plugin which suits your needs. |
Beta Was this translation helpful? Give feedback.
-
I want to let path /a/b redirect to service /x/y. Does Kong already support this action?
Beta Was this translation helpful? Give feedback.
All reactions