16470: File updates & additions from 'rake rails:update'
[arvados.git] / services / api / config / environments / production.rb.example
index c1092d3fc77a719b3ec13f72ee5d1269db8552b1..c8194057ccfc731d5fbf91b2fdfd55d0c417f812 100644 (file)
@@ -1,4 +1,8 @@
-Server::Application.configure do
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
   # Code is not reloaded between requests
@@ -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_assets = 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