npm install npm run build pm2 start npm --name "your_doman.id[8982]" -- run start:staging
npm install npm run build pm2 start npm --name "your_doman.id[8982]" -- run start:production
use example file your_domain.id in this repo
sudo ln -s /etc/nginx/sites-available/your_domain.id /etc/nginx/sites-enabled
sudo nginx -t
sudo service nginx restart
sudo certbot --nginx -d your_domain.id
sudo certbot renew --dry-run