diff --git a/src/plugins/elasticsearch/lib/create_proxy.js b/src/plugins/elasticsearch/lib/create_proxy.js index 685430d10933..b7a9d0abff46 100644 --- a/src/plugins/elasticsearch/lib/create_proxy.js +++ b/src/plugins/elasticsearch/lib/create_proxy.js @@ -9,7 +9,8 @@ module.exports = function createProxy(server, method, route, opts) { proxy: { mapUri: mapUri(server, opts.prefix), passThrough: true, - agent: createAgent(server) + agent: createAgent(server), + xforward: true } } };