diff options
author | 2022-09-29 17:08:56 +0200 | |
---|---|---|
committer | 2022-09-29 17:08:56 +0200 | |
commit | f0bf69d4d037351ea68caf17c35b111db3891a43 (patch) | |
tree | 30572ffe067061437627f7b68d012a54291885c7 /internal/config/defaults.go | |
parent | [chore] Update go swagger version in dockerfile (#867) (diff) | |
download | gotosocial-f0bf69d4d037351ea68caf17c35b111db3891a43.tar.xz |
[chore] Add ipv6 localhost to trusted proxies by default (#868)
* add ipv6 localhost to trusted proxies by default
* test different trusted proxies
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r-- | internal/config/defaults.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 5eb87ce68..7a2b806f8 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -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: "", |