Uses trick to make pm2 deployments actually work.
Checks x-forwarded-for header for client ip.