How To Set Up a Node.js Application for Production

Node.js is an open-source JavaScript runtime environment for building server-side and networking applications. In these guides we’ll set up a production-ready Node.js environment on a single server. This server will run a Node.js application managed by PM2, and provide users with secure access to the application through an Nginx reverse proxy and HTTPS using a free certificate provided by Let’s Encrypt. Choose your operating system below to get started.