Replies: 2 comments
-
Check out proxy-rewrite plugin. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This can be done using the proxy-rewrite plugin, e.g. the regex_uri attribute is set to ["^.*", "/"] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to create a route that accepts a pathname at the end of the uri:
http://myserver.com:9080/some_path
and on the upstream host I don't want anything after the hostname, resolving to http://desthost.com/
Is that possible with APISIX? If so, what is the syntax on the input?
Desired action:
input: http://myserver.com:9080/go dest: http://google.com/
Beta Was this translation helpful? Give feedback.
All reactions