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. On Dec 17, 2016 5:03 PM, "Rich Morin" wrote: > I'm using Rack via Sinatra and Thin, serving HTTPS on port 44567. That > works, but I'm not able to set up automated transfers from HTTP to HTTPS. > I'm trying to use the rack-ssl gem to force this, but not seeing any > effect. > > > I assume that I'm simply calling it wrong. Might anyone have suggestions? > > > FWIW, here's a Gist that documents and demonstrates the issue: > > > https://gist.github.com/RichMorin/62d5594237e487242f027ca51cafa290 > > > -r > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Rack Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rack-devel+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "Rack Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.