Skip to content

luciditytech/rack-ssl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rack middleware to force SSL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%