1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 ArvadosWorkbench::Application.configure do
6 # Settings specified here will take precedence over those in config/application.rb
8 # Code is not reloaded between requests
9 config.cache_classes = true
11 # Full error reports are disabled and caching is turned on
12 config.consider_all_requests_local = false
13 config.action_controller.perform_caching = true
15 # Disable Rails's static asset server (Apache or nginx will already do this)
16 config.public_file_server.enabled = false
18 # Compress JavaScripts and CSS
19 config.assets.js_compressor = :uglifier
21 # Don't fallback to assets pipeline if a precompiled asset is missed
22 config.assets.compile = false
24 # Generate digests for assets URLs
25 config.assets.digest = true
27 # Defaults to nil and saved in location specified by config.assets.prefix
28 # config.assets.manifest = YOUR_PATH
30 # Specifies the header that your server uses for sending files
31 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
32 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
34 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
35 # config.force_ssl = true
37 # See everything in the log (default is :info)
38 # config.log_level = :debug
40 # Prepend all log lines with the following tags
41 # config.log_tags = [ :subdomain, :uuid ]
43 # Use a different logger for distributed setups
44 # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
46 # Use a different cache store in production
47 # config.cache_store = :mem_cache_store
49 # Enable serving of images, stylesheets, and JavaScripts from an asset server
50 # config.action_controller.asset_host = "http://assets.example.com"
52 # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
53 # config.assets.precompile += %w( search.js )
55 # Disable delivery errors, bad email addresses will be ignored
56 # config.action_mailer.raise_delivery_errors = false
58 # Enable threaded mode
61 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
62 # the I18n.default_locale when a translation can not be found)
63 config.i18n.fallbacks = true
65 # Send deprecation notices to registered listeners
66 config.active_support.deprecation = :notify
68 # Log timing data for API transactions
69 config.profiling_enabled = false