Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanbehan/force_ssl

Force SSL on Every Request Rails > 3.0.*
https://github.com/seanbehan/force_ssl

Last synced: 25 days ago
JSON representation

Force SSL on Every Request Rails > 3.0.*

Awesome Lists containing this project

README

        

# ForceSSL

Force every request to https using Rack middleware in Rails Apps >= 3.0.*.

## Installation

```ruby
gem 'force_ssl', :git => '[email protected]:bseanvt/force_ssl.git'
```

In config/environments/production.rb

```ruby
config.middleware.use "ForceSsl::ForceSSL"
```

All done!

### Other Gems

For a more thorough library checkout out
https://github.com/tobmatth/rack-ssl-enforcer