Skip to content

Instantly share code, notes, and snippets.

@endel
Created December 4, 2019 18:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endel/d11800d40684b9c07437a6299600ff99 to your computer and use it in GitHub Desktop.
Save endel/d11800d40684b9c07437a6299600ff99 to your computer and use it in GitHub Desktop.
Allow non-root node to use ports 80 (HTTP) and 443 (HTTPS) (AWS EC2)
# Allow non-root node to use ports 80 (HTTP) and 443 (HTTPS)
sudo setcap 'cap_net_bind_service=+ep' $(which node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment