mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
Update README.md [skip ci]
In Caddyfile rename forwardproxy to forward_proxy and basicauth to basic_auth.
This commit is contained in:
parent
b6f7075332
commit
55e0f463be
@ -38,13 +38,13 @@ 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=$PWD/forwardproxy
|
||||||
sudo setcap cap_net_bind_service=+ep ./caddy
|
sudo setcap cap_net_bind_service=+ep ./caddy
|
||||||
```
|
```
|
||||||
Then `./caddy run` with the following Caddyfile (replace the example values accordingly):
|
Then `./caddy start` with the following Caddyfile (replace the example values accordingly):
|
||||||
```
|
```
|
||||||
:443, example.com
|
:443, example.com
|
||||||
tls me@example.com
|
tls me@example.com
|
||||||
route {
|
route {
|
||||||
forward_proxy {
|
forward_proxy {
|
||||||
basicauth user pass
|
basic_auth user pass
|
||||||
hide_ip
|
hide_ip
|
||||||
hide_via
|
hide_via
|
||||||
probe_resistance secret.com
|
probe_resistance secret.com
|
||||||
|
Loading…
Reference in New Issue
Block a user