Replies: 2 comments
-
Thanks for reporting the issue @mixxen I'm afraid I won't have much time to investigate and create a fix the coming weeks. |
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
-
Your rewrite library seems to be working well. It would be nice if your library supported rewriting proxy redirects. For instance, a proxy is configured like so:
If the target server responds with 302, then the client will be redirected to a 404 page because
/newpath/
is not appended to the location header. To workaround this, I have modifiedweb-outgoing.js
in node_modules/http-proxy to check ifautoRewrite
is a string. If it is a string, append it to the location. I'm sure there is a better way to do this....Beta Was this translation helpful? Give feedback.
All reactions