Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support setcap in dev mode (XCADDY_SETCAP)
When I first wrote xcaddy I was on macOS which does not require permission to bind to low ports. Now I'm on Linux. The XCADDY_SETCAP env var will cause xcaddy to run setcap on the generated temporary binary before executing it so that it can bind to low ports. This requires sudo.
- Loading branch information