Commit 9d90543a6bae6bdad70ffe7399e554ed00163f14

Authored by Michael McClenaghan
2 parents 30656396 2861fd96
Exists in master and in 1 other branch production

updated gemlock

Gemfile
... ... @@ -5,6 +5,9 @@ gem 'rails', '3.2.6'
5 5 gem 'nokogiri'
6 6 gem 'mongoid', '~> 2.4.10'
7 7  
  8 +# force SSL
  9 +gem 'rack-ssl', :require => 'rack/ssl'
  10 +
8 11 gem 'haml'
9 12 gem 'htmlentities', "~> 4.3.0"
10 13  
... ...
Gemfile.lock
... ... @@ -297,6 +297,7 @@ DEPENDENCIES
297 297 omniauth-github
298 298 oruen_redmine_client
299 299 pivotal-tracker
  300 + rack-ssl
300 301 rack-ssl-enforcer
301 302 rails (= 3.2.6)
302 303 rails_autolink (~> 1.0.9)
... ...
config/environments/production.rb
... ... @@ -59,5 +59,8 @@ Errbit::Application.configure do
59 59  
60 60 # Send deprecation notices to registered listeners
61 61 config.active_support.deprecation = :notify
  62 +
  63 + # enable HTTPS
  64 + config.middleware.insert_before Rack::Lock, "Rack::SSL"
62 65 end
63 66  
... ...