Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.*
- Host: GitHub
- URL: https://github.com/seanbehan/force_ssl
- Owner: seanbehan
- Created: 2011-09-11T15:13:38.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-11T15:51:19.000Z (over 13 years ago)
- Last Synced: 2024-11-16T16:11:42.478Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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