From b4a9a1ea5c79892a203cac234e09078a92fcf25d Mon Sep 17 00:00:00 2001 From: Jan Krutisch Date: Mon, 22 Apr 2019 13:55:53 +0200 Subject: [PATCH] Force 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 11a9b3d..4617367 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -47,7 +47,7 @@ # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] # 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.