X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/19ae770973482257117fe8ded5619c3018c4b60f..b69d0344335cafe4f4b6d4af229616b5251d21ea:/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 c1092d3fc7..c8194057cc 100644 --- a/services/api/config/environments/production.rb.example +++ b/services/api/config/environments/production.rb.example @@ -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