Add staging config file & trusted proxies for all application

This commit is contained in:
Alex Sherman 2021-04-26 14:49:30 +05:00
parent 7957d71be7
commit 49e08f5e21
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,6 @@
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
require 'syslog/logger'
config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new(ENV['app_name'] || 'registry'))
end