Force to redirect to ssl

This commit is contained in:
Brenda Wallace
2019-01-18 14:41:57 +13:00
parent 656510855d
commit b6a7fa0efd
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,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.

View File

@@ -34,7 +34,7 @@ Rails.application.configure do
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
config.force_ssl = true
# See everything in the log (default is :info)
# config.log_level = :debug