From 85220aae6ad6ea9b5d590840b6437af7c79c0c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Mon, 9 Nov 2020 10:08:30 +0100 Subject: [PATCH] fix: remove forced ssl on production --- config/environments/production.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 152c1d03b..dd385facf 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,9 +1,6 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. - config.force_ssl = true - config.ssl_options = { redirect: { exclude: -> request { request.path =~ /healthcheck/ } } } - # Code is not reloaded between requests. config.cache_classes = true