Created
February 10, 2021 23:20
-
-
Save mattes/d0cbf454ae6f1c15ac6b0a68ce97ca2b to your computer and use it in GitHub Desktop.
Allow non-root binary to bind port 80 and 443
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
sudo setcap CAP_NET_BIND_SERVICE=+eip /path/to/binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment