Rack middleware to force SSL
Ruby
Pull request Compare This branch is 20 commits behind josh:master.
Latest commit e07a9de Sep 26, 2012 @josh josh Revert "Merge pull request #7 from bartt/master"
This reverts commit 6a6c15d, reversing
changes made to 239e2d4.

README.md

Rack::SSL

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"

Usage

use Rack::SSL