From 56548057322e11f3d310b075c934ccb3ee6a356e Mon Sep 17 00:00:00 2001 From: Derek Leadbetter Date: Wed, 25 Mar 2020 14:37:56 -0400 Subject: [PATCH] DM2 #254 - Resetting force_ssl to "true" and protocol to "https" --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index d9a99bef..c51eccf2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -38,7 +38,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 = false + config.force_ssl = true # Use the lowest log level to ensure availability of diagnostic information # when problems arise. @@ -85,4 +85,4 @@ end Rails.application.routes.default_url_options[:host] = ENV['HOSTNAME'] -Rails.application.routes.default_url_options[:protocol] = 'http' +Rails.application.routes.default_url_options[:protocol] = 'https'