On Saturday, December 17, 2016 at 5:08:12 PM UTC-8, raggi wrote:
This is a web server issue, not a rack issue. Most webservers will not let you serve plaintext and TLS over the same port. When I say most, I mean I don't know of any ruby webservers that support this, as all of them rely on openssl listen sockets for TLS.
Hmmm. A lot of web servers I've encountered force a switch from HTTP to HTTPS, but then, they're also switching from port 80 to port 443. I suppose that I could redirect requests from (say) http://<IP>:34567/... to https://<IP>:44567/..., but I'm not sure how useful that would be. Also, not exactly sure how to do this.
Any other suggestions, anyone?
-r