From 568c8aa0eac3f28c344c8a66d1d3d50b8742d610 Mon Sep 17 00:00:00 2001 From: Harry Jackson Date: Fri, 21 Oct 2022 09:53:11 -0500 Subject: [PATCH] Set force_ssl to true on 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 c29f451..ef5508d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -41,7 +41,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 # Include generic and useful information about system operation, but avoid logging too much # information to avoid inadvertent exposure of personally identifiable information (PII).