mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 05:53:31 -06:00
[chore] Add ipv6 localhost to trusted proxies by default (#868)
* add ipv6 localhost to trusted proxies by default * test different trusted proxies
This commit is contained in:
parent
ff168647c4
commit
f0bf69d4d0
6 changed files with 13 additions and 11 deletions
|
|
@ -32,7 +32,7 @@ var Defaults = Configuration{
|
|||
Protocol: "https",
|
||||
BindAddress: "0.0.0.0",
|
||||
Port: 8080,
|
||||
TrustedProxies: []string{"127.0.0.1/32"}, // localhost
|
||||
TrustedProxies: []string{"127.0.0.1/32", "::1"}, // localhost
|
||||
|
||||
DbType: "postgres",
|
||||
DbAddress: "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue