Skip to content

Instantly share code, notes, and snippets.

@rogerz
Last active August 29, 2015 13:57
Show Gist options
  • Save rogerz/9577726 to your computer and use it in GitHub Desktop.
Save rogerz/9577726 to your computer and use it in GitHub Desktop.
run node app under 80 without root
sudo apt-get install libcap2-bin
sudo setcap cap_net_bind_service=+ep /usr/local/bin/node
# https://www.digitalocean.com/community/articles/how-to-use-pm2-to-setup-a-node-js-production-environment-on-an-ubuntu-vps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment