How do I properly zero-downtime deploy a Node.js app on a Droplet?

How do I properly zero-downtime deploy a Node.js app on a Droplet?

Summary

I have a Node.js app running on a Droplet with PM2 and Nginx. Every time I deploy new code I have to restart PM2 which causes a few seconds of downtime. For …

Description

I have a Node.js app running on a Droplet with PM2 and Nginx. Every time I deploy new code I have to restart PM2 which causes a few seconds of downtime. For …

Original reporting

AFBytes is a read-only aggregator. Use the original source for full context and complete reporting.

Open original source

Related coverage