From ae036a771cabe86d25d56bb4a86535fb902d8688 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 16 Dec 2015 03:16:25 -0800 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a767bf6..935bbe9 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ letsencrypt certonly \ --agree-tos --email john.doe@example.com \ --standalone \ --domains example.com,www.example.com \ - --server https://acme-staging.api.letsencrypt.org/directory + --server https://acme-staging.api.letsencrypt.org/directory \ ``` ### WebRoot @@ -53,6 +53,16 @@ letsencrypt certonly \ --server https://acme-staging.api.letsencrypt.org/directory ``` +## Run without Root + +If you'd like to allow node.js to use privileged ports `80` and `443` +(and everything under 1024 really) without being run as `root` or `sudo`, +you can use `setcap` to do so. (it may need to be run any time you reinstall node as well) + +```bash +sudo setcap cap_net_bind_service=+ep /usr/local/bin/node +``` + ## Command line Options ```