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
|
@ -21,6 +21,7 @@ func GetConfig() model.Config {
|
|||
BaseUrl: "https://arimelody.me",
|
||||
Host: "0.0.0.0",
|
||||
Port: 8080,
|
||||
TrustedProxies: []string{ "127.0.0.1" },
|
||||
DB: model.DBConfig{
|
||||
Host: "127.0.0.1",
|
||||
Port: 5432,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue