You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this route, we also added the plugin proxy-rewrite, the uri /v1/services/some-uri will be rewrite to upstream as uri /some-uri.
If the scheme is the http, the request to the uri will be successfully returned, but if we change it to https, the response status code will be 404 with content page not found.
Does anyone meet the same issue? and how to fix it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello guys,
We tried to create one route with an upstream which scheme is https, the configuration as follows
In this route, we also added the plugin
proxy-rewrite
, the uri/v1/services/some-uri
will be rewrite to upstream as uri/some-uri
.If the scheme is the
http
, the request to the uri will be successfully returned, but if we change it tohttps
, the response status code will be404
with contentpage not found
.Does anyone meet the same issue? and how to fix it?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions