502 Bad Gateway After Reboot
Hi DO Team,
My droplets is working good before i power off for a long time ( 2 week ), and today i’m trying to power on my droplet, it show 502 Bad Gateway in the browser. And in the terminal when i’m trying to run pm2 restart server.js, it show … Use –update-env to update environments variables....
I dont know how to fix it and make my server run again ( try to run pm2 start server.js –update-env but it not work..).
Note: i’m using Nodejs + MongoDb + Nextjs and server is Ubuntu 18.04.