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
The easiest solution I could find after a broad search, is the solution posted by Frank here.
Simply place the following at the top of your Sinatra classic app to force your application to use HTTPS:
require 'rack/ssl-enforcer' use Rack::SslEnforcer