From a477d5b9694e2f707ba54bc7ef64c9a79613b288 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 8 Oct 2015 18:29:37 -0400 Subject: [PATCH] Force SSL in production --- 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 5c1b32e..03845d8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -42,7 +42,7 @@ Rails.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 # Use the lowest log level to ensure availability of diagnostic information # when problems arise.