From 234d4de7edf7dd55306ba461ada3268d9e8c1f1d Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 14 May 2014 15:26:00 +1000 Subject: [PATCH] Forcing everything to be SSL --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index a780f486fb..ee6fa16e8a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -28,7 +28,7 @@ Openfoodnetwork::Application.configure do # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. - # config.force_ssl = true + config.force_ssl = true # See everything in the log (default is :info) # config.log_level = :debug