Express Get Port из запроса
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;
Old Knight
const proxyHost = req.headers["x-forwarded-host"];
const host ? proxyHost : req.headers.host;