hapi-forwarded A Hapi v7.5.3 to trust x-forwarded-for Example var Forwarded = require('hapi-forwarded');server.pack.register(Forwarded, function (err) { server.start(); // request.info.remoteAddress will be replaced with // the last address in the `x-forwarded-for` header});