mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Update README.md [skip ci]
This commit is contained in:
parent
411f0e042c
commit
33ddf2955b
@ -33,9 +33,8 @@ Note: On Linux libnss3 must be installed before using the prebuilt binary.
|
||||
|
||||
On the server, build and run Caddy v2 with naïve fork of forwardproxy: (Golang v1.14+ required)
|
||||
```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=$PWD/forwardproxy
|
||||
~/go/bin/xcaddy build --with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive
|
||||
sudo setcap cap_net_bind_service=+ep ./caddy
|
||||
```
|
||||
Then `./caddy start` with the following Caddyfile (replace the example values accordingly):
|
||||
|
Loading…
Reference in New Issue
Block a user