X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/607fe087f6167061714a524dd53cbbc21b974973..96fefe6c6fc2e3bd7e4efbb0b6a7dedb9221aff7:/services/api/config/environments/production.rb.example diff --git a/services/api/config/environments/production.rb.example b/services/api/config/environments/production.rb.example index 2b91d3de87..6c48dcd019 100644 --- a/services/api/config/environments/production.rb.example +++ b/services/api/config/environments/production.rb.example @@ -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