Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rack middleware to force SSL
Ruby
branch: master

This branch is 1 commit ahead, 21 commits behind josh:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/rack
test
LICENSE
README.md
Rakefile
rack-ssl.gemspec

README.md

Rack::SSL

Force SSL/TLS in your app.

  1. Redirects all "http" on given port (option-key :port, default 80) requests to "https" with a given port (option-key :ssl_port, default 443)
  2. Set Strict-Transport-Security header
  3. Flag all cookies as "secure"

Usage

use Rack::SSL
Something went wrong with that request. Please try again.