diff --git a/config/environments/production.rb b/config/environments/production.rb index a0fbc4f..5960d25 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -107,5 +107,6 @@ Rails.application.configure do } # Any action dealing with authentication should redirect to HTTPS - config.to_prepare { Devise::SessionsController.force_ssl } + # Disabled because it will redirect incorrectly behind a proxy. + # config.to_prepare { Devise::SessionsController.force_ssl } end