Commit c0b20bb8143b93cec3eb7f7b144e5f080fd2141c
1 parent
085ef265
Exists in
master
and in
1 other branch
Made RackSslEnforcer configurable via the 'enforce_ssl' key in config.yml, turned off by default.
Showing
3 changed files
with
10 additions
and
3 deletions
Show diff stats
config/application.rb
... | ... | @@ -15,9 +15,6 @@ Bundler.require(:default, Rails.env) if defined?(Bundler) |
15 | 15 | |
16 | 16 | module Errbit |
17 | 17 | class Application < Rails::Application |
18 | - | |
19 | - config.middleware.use Rack::SslEnforcer, :except => /^\/deploys/ | |
20 | - | |
21 | 18 | # Settings in config/environments/* take precedence over those specified here. |
22 | 19 | # Application configuration should go into files in config/initializers |
23 | 20 | # -- all .rb files in that directory are automatically loaded. | ... | ... |
config/config.example.yml