slogsdon / elixir-reverse-proxy

A Plug based, reverse proxy server written in Elixir.
https://hex.pm/packages/reverse_proxy
MIT License
147 stars 34 forks source link

Should 'upstreams' take URI's? #14

Closed davidw closed 7 years ago

davidw commented 7 years ago

That's what Apache does: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html

This would make things more configurable in terms of pointing to an SSL site from an non-SSL request, and things like that.

slogsdon commented 7 years ago

This would probably be a good idea and should be a trivial change to this line to account for URIs

davidw commented 7 years ago

Yeah, that's what I did; I'll send in the PR.

slogsdon commented 7 years ago

Closed via #15