From 76c04958bff4398211126654ba9041fb690e51fd Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 13 Nov 2019 10:58:29 +0200 Subject: [PATCH] Set x-forwarded-for header to caller IP --- pkg/envoy/listener.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/envoy/listener.go b/pkg/envoy/listener.go index b35df61..4262c7a 100644 --- a/pkg/envoy/listener.go +++ b/pkg/envoy/listener.go @@ -47,5 +47,6 @@ func newConnectionManager(routeName string, vhosts []*route.VirtualHost, drainTi HttpFilters: []*hcm.HttpFilter{{ Name: wellknown.Router, }}, + UseRemoteAddress: &wrappers.BoolValue{Value: true}, } }