Merge branch 'master' into 14670-new-java-sdk-docs
[arvados.git] / services / api / config / environments / production.rb.example
index 2b91d3de87e2308ac8afcd09b00509fba682f014..6c48dcd0196209f3b16a31f64f48ad93fa06244b 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 Server::Application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
@@ -9,7 +13,7 @@ Server::Application.configure do
   config.action_controller.perform_caching = true
 
   # Disable Rails's static asset server (Apache or nginx will already do this)
-  config.serve_static_files = false
+  config.public_file_server.enabled = false
 
   # Compress JavaScripts and CSS
   config.assets.compress = true
@@ -59,4 +63,5 @@ Server::Application.configure do
   # Send deprecation notices to registered listeners
   config.active_support.deprecation = :notify
 
+  config.log_level = :info
 end