summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2015-08-30 10:55:30 -0600
committerMatthew Holt <[email protected]>2015-08-30 10:55:30 -0600
commitd79d2611ca592068e5fcc85eecbca5c1a3a1fbae (patch)
tree8604fa23e97b0531caf579d769398e28fab0287d /README.md
parentbfc61824b994fe7514da60618fbdfbe22b46bb43 (diff)
downloadcaddy-d79d2611ca592068e5fcc85eecbca5c1a3a1fbae.tar.gz
caddy-d79d2611ca592068e5fcc85eecbca5c1a3a1fbae.zip
Mention setcap in readme so it's more prominent
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
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