Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes / additions to URL rewriting #787

Merged
merged 4 commits into from
Apr 1, 2015
Merged

Conversation

matthauck
Copy link
Contributor

  • Add support for auto host rewriting and protocol rewriting
  • Only rewrite URLs when the redirected host matches the original target

matthauck and others added 4 commits February 5, 2015 12:17
auto host rewriting allows rewriting to work as expected in most
cases without extra cumbersome configuration

protocol rewriting allows node-http-proxy to be able to listen
over HTTPS and properly reverse-proxy to sites running over HTTP
(to avoid doing SSL twice)
Add support for auto host rewriting and protocol rewriting
if functioning as a reverse proxy for host1.foo.com,
with a backend target of backend.foo.com:8080, the
node proxy should only rewrite the redirect if it is
a redirect to somewhere on backend.foo.com:8080
@jcrugzz
Copy link
Contributor

jcrugzz commented Apr 1, 2015

LGTM.

jcrugzz added a commit that referenced this pull request Apr 1, 2015
Fixes / additions to URL rewriting
@jcrugzz jcrugzz merged commit 5a969d0 into http-party:master Apr 1, 2015
@matthauck
Copy link
Contributor Author

sweet, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants