From 33ddf2955b37c9a5a75929441a0a5618a7968db1 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 2 Oct 2020 15:53:57 +0800 Subject: [PATCH] Update README.md [skip ci] --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f47037c26..64b1a33f7f 100644 --- a/README.md +++ b/README.md @@ -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):