Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 277 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 277 Bytes

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"

Installation

gem install rack-ssl

Usage

require 'rack/ssl'
use Rack::SSL