From 578651ddaee0e2801b02a74122e1bcb6aadb4529 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 4 Dec 2013 14:26:22 +1100 Subject: [PATCH] forcing SSL in staging --- config/environments/staging.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 2d390f4104..2d9321357d 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.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