From e509e28fd021fbf540ed81db6fd20b28fc6d4336 Mon Sep 17 00:00:00 2001 From: benni Date: Wed, 26 Dec 2012 14:12:48 +0100 Subject: [PATCH] Force access over ssl in production mode. --- 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 0b11b1f7..239640e0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -28,7 +28,7 @@ Foodsoft::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