Commit 85858b19 by Mai Hoang Thai Ha

Use SSL and the Puma webserver in production

parent 6bc62870
Pipeline #1246 canceled with stages
in 0 seconds
......@@ -117,4 +117,6 @@ Rails.application.configure do
# config.active_record.database_selector = { delay: 2.seconds }
# config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
config.force_ssl = true
end
......@@ -60,5 +60,4 @@ Rails.application.configure do
# Force all access to the app over SSL, use Strict-Transport-Security,
# and use secure cookies.
config.force_ssl = true
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment