handle x-forwarded-for in IP logs
This commit is contained in:
parent
d9b71381b0
commit
23dbbf26e3
5 changed files with 17 additions and 13 deletions
|
@ -26,6 +26,7 @@ type (
|
|||
Host string `toml:"host"`
|
||||
Port int64 `toml:"port"`
|
||||
DataDirectory string `toml:"data_dir"`
|
||||
TrustedProxies []string `toml:"trusted_proxies"`
|
||||
DB DBConfig `toml:"db"`
|
||||
Discord DiscordConfig `toml:"discord"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue