Created
December 4, 2019 18:58
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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