This repository has been archived by the owner. It is now read-only.
Rack middleware to force SSL
Clone or download
Pull request Compare This branch is even with chopmo:master.
Latest commit 0baafb1 Mar 23, 2014


Force SSL/TLS in your app.

  1. Redirects all "http" requests to "https"
  2. Set Strict-Transport-Security header
  3. Flag all cookies as "secure"


gem install rack-ssl


require 'rack/ssl'
use Rack::SSL