From d79d2611ca592068e5fcc85eecbca5c1a3a1fbae Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sun, 30 Aug 2015 10:55:30 -0600 Subject: [PATCH] Mention setcap in readme so it's more prominent --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 766453899..44fd023b4 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ By default, Caddy serves the current directory at [localhost:2015](http://localh Caddy accepts some flags from the command line. Run `caddy -h` to view the help for flags. You can also pipe a Caddyfile into the caddy command. +**Running as root:** We advise against this; use setcap instead, like so: `setcap cap_net_bind_service=+ep ./caddy` This will allow you to listen on ports below 1024 (like 80 and 443). #### Docker Container