Commit d5e33cb12595fc67afba3ca7f2e00848aaa66902
1 parent
29fc7b7a
Exists in
master
and in
1 other branch
Removed SSL code in config/environments/production.rb in favor of enforce_ssl option in config.yml
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
config/environments/production.rb
| @@ -59,8 +59,5 @@ Errbit::Application.configure do | @@ -59,8 +59,5 @@ Errbit::Application.configure do | ||
| 59 | 59 | ||
| 60 | # Send deprecation notices to registered listeners | 60 | # Send deprecation notices to registered listeners |
| 61 | config.active_support.deprecation = :notify | 61 | config.active_support.deprecation = :notify |
| 62 | - | ||
| 63 | - # enable HTTPS | ||
| 64 | - config.middleware.insert_before Rack::Lock, "Rack::SSL" | ||
| 65 | end | 62 | end |
| 66 | 63 |