As the title says, Google doesn\'t give anything useful concerning this.
How do I set up and configure HTTPS/SSL for Sinatra apps?
How do I create a HTTPS ro
I think using rack-ssl is the best option.
Then you just do:
class Application < Sinatra::Base use Rack::SSL get '/' do 'SSL FTW!' end end
and all http:// calls are redirected to https://
http://
https://