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 --- internal/config/defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') 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: "", -- cgit v1.2.3