Fix build instructions

This commit is contained in:
klzgrad 2020-07-19 16:33:23 +08:00 committed by GitHub
parent 3ea38ad052
commit ae0b9c4697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ On the server, build and run Caddy v2 with naïve fork of forwardproxy: (Golang
```sh
git clone -b naive https://github.com/klzgrad/forwardproxy
go get -u github.com/caddyserver/xcaddy/cmd/xcaddy
~/go/bin/xcaddy build --with github.com/caddyserver/forwardproxy=./forwardproxy
~/go/bin/xcaddy build --with github.com/caddyserver/forwardproxy=$PWD/forwardproxy
sudo setcap cap_net_bind_service=+ep ./caddy
./caddy run --config caddy.json
```