I\'m looking for a simple way to enable SSL in a standalone Sinatra application running via Thin without having to pass the --ssl, --ssl-key-file a
--ssl
--ssl-key-file
I'm running Sinatra and Thin (on Heroku) with SSL using the Rack::SslEnforcer, doing this:
if production? require 'rack/ssl-enforcer' use Rack::SslEnforcer end
This should be before you enable :sessions in your file.