Once your app is production-ready, it's time to deploy it to a web server. In this video, students will learn about the two ways to deploy a Nuxt.js application: Either as a statically generated files or in universal app mode.
Notes:
npm install pm2 -g
pm2 start npm -- start
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
server {
listen 80;
server_name zulu;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}