force ssl only if host passed

This commit is contained in:
DocuSeal committed 2023-10-29 21:36:30 +02:00
1 parent 607fc8d338
commit 50d3404f3b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -59,7 +59,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'] == 'true'
config.force_ssl = ENV['FORCE_SSL'].present?
# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).