Merge branch '8784-dir-listings'
[arvados.git] / services / api / config / environments / production.rb.example
index ac6ce1b8ed87473aae9bb1e0dba9b23affebc655..176f083efd65336d4fd55394f2e75c4690311731 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_assets = false
+  config.serve_static_files = false
 
   # Compress JavaScripts and CSS
   config.assets.compress = true
@@ -47,8 +51,7 @@ Server::Application.configure do
 
   # Disable delivery errors, bad email addresses will be ignored
   # config.action_mailer.raise_delivery_errors = false
-  config.action_mailer.raise_delivery_errors = true
-  config.action_mailer.perform_deliveries = true
+  # config.action_mailer.perform_deliveries = true
 
   # Enable threaded mode
   # config.threadsafe!