From 66556548e5b0b48f96ebf4cc48a83914ae4d5b13 Mon Sep 17 00:00:00 2001 From: Duc Anh Nguyen Date: Fri, 14 Apr 2017 12:54:46 +0700 Subject: [PATCH] deploy/ force ssl --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c6bf76e..d92a63f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -41,7 +41,7 @@ # 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.