diff --git a/config/environments/production.rb b/config/environments/production.rb index 11d42d349..1267a96a3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -16,6 +16,8 @@ Diaspora::Application.configure do # Specifies the header that your server uses for sending files config.action_dispatch.x_sendfile_header = "X-Sendfile" + + config.active_support.deprecation = :notify # For nginx: # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'