mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Add staging config file & trusted proxies for all application
This commit is contained in:
parent
7957d71be7
commit
49e08f5e21
2 changed files with 8 additions and 0 deletions
6
config/environments/staging.rb
Normal file
6
config/environments/staging.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue