mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 15:42:32 -05:00
force ssl only if host passed
This commit is contained in:
1 parent
607fc8d338
commit
50d3404f3b
3 files changed
+4
-4
No files matched your search
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user