Enforce SSL on production

This commit is contained in:
bumi 2020-04-06 09:46:19 +02:00
parent 6c27a471ee
commit 475a781752

View File

@ -44,7 +44,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 = true
config.force_ssl = true
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.