mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-20 22:52:58 -05:00
Mention setcap in readme so it's more prominent
This commit is contained in:
parent
bfc61824b9
commit
d79d2611ca
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
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
|
#### Docker Container
|
||||||
|
|
Loading…
Add table
Reference in a new issue