use FORCE_SSL=false

This commit is contained in:
Pete Matsyburka
2024-03-21 14:12:11 +02:00
parent a1a920e536
commit 43ef0fc0d0
+1 -1
View File
@@ -60,7 +60,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 = ENV['FORCE_SSL'].present?
config.force_ssl = ENV['FORCE_SSL'].present? && ENV['FORCE_SSL'] != 'false'
# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).