Browse Source

Production will always use https.

Andrew Swistak 6 years ago
parent
commit
23bf0af327
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/environments/production.rb

+ 1 - 1
config/environments/production.rb

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