routerify icon indicating copy to clipboard operation
routerify copied to clipboard

Add support for Routerify to serve HTTPS requests

Open seanpianka opened this issue 4 years ago • 1 comments
trafficstars

Closes #103

This PR has an (unfortunately) unfinished re-implementation of hyper-rustls' server example. I have added additional optional dependencies that would allow for users to select whether to use openssl (plus native binds) or rustls for their SSL implementation.

At the moment, there's a few compiler errors regarding tokio::net::TcpListener not being found (even though tokio's features include "full"), as well as issues with RouterService<B, E> not having an impl hyper::service::make::MakeServiceRef (even though the hyper docs state that basically no-one should directly implement that trait).

I will take another look at this soon, but for now, using nginx would probably suffice...

seanpianka avatar Oct 03 '21 02:10 seanpianka

Any progress on this? I tried to implement it myself before finding your issue, but I don't think my rust skills are quite good enough yet.

physics515 avatar Jun 23 '22 13:06 physics515