DEV Community

Discussion on: Blue/Green Node.js Deploys with NGINX

Collapse
 
joehonton profile image
Joe Honton

Part of your solution could be tightened up with this simple command.

    setcap 'cap_net_bind_service=+ep' /usr/bin/node

Here's the full story. How to Configure Node.js to Use Port 443
"Granting server access to well-known, privileged Linux system ports."