From 475a781752d22f31f6083330b9614a780f8bb5cf Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Mon, 6 Apr 2020 09:46:19 +0200 Subject: [PATCH] Enforce SSL 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 b663ce3..576bfb1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -44,7 +44,7 @@ Rails.application.configure do # 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.