summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-09-29 17:08:56 +0200
committerLibravatar GitHub <noreply@github.com>2022-09-29 17:08:56 +0200
commitf0bf69d4d037351ea68caf17c35b111db3891a43 (patch)
tree30572ffe067061437627f7b68d012a54291885c7 /testrig/config.go
parent[chore] Update go swagger version in dockerfile (#867) (diff)
downloadgotosocial-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 'testrig/config.go')
-rw-r--r--testrig/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrig/config.go b/testrig/config.go
index 7b4b336bc..fc479e77a 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -40,7 +40,7 @@ var testDefaults = config.Configuration{
Protocol: "http",
BindAddress: "127.0.0.1",
Port: 8080,
- TrustedProxies: []string{"127.0.0.1/32"},
+ TrustedProxies: []string{"127.0.0.1/32", "::1"},
DbType: "sqlite",
DbAddress: ":memory:",