From f0bf69d4d037351ea68caf17c35b111db3891a43 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 29 Sep 2022 17:08:56 +0200 Subject: [chore] Add ipv6 localhost to trusted proxies by default (#868) * add ipv6 localhost to trusted proxies by default * test different trusted proxies --- testrig/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testrig/config.go') 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:", -- cgit v1.2.3