Fixed issue #742: IPs in Sessions list are all 'localhost'.
This commit is contained in:
parent
f5c588be0b
commit
a3444472ea
1 changed files with 5 additions and 0 deletions
|
@ -80,4 +80,9 @@ Rails.application.configure do
|
|||
# format log
|
||||
config.log_formatter = Logger::Formatter.new
|
||||
|
||||
# overwrite default Rails TRUSTED_PROXIES
|
||||
# because otherwise IPs from private ranges will be
|
||||
# ignored for Session logging and fall back to localhost
|
||||
# see https://github.com/zammad/zammad/issues/742
|
||||
config.action_dispatch.trusted_proxies = ['127.0.0.1', '::1']
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue