Fix example config

This commit is contained in:
KernelErr 2021-10-26 23:27:03 +08:00
parent a88a263d20
commit 421ad8c979
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ servers:
upstream:
nginx: "127.0.0.1:8080"
proxy: "127.0.0.1:1024"
other: "www.remote.example.com:8082" # proxy to remote address
remote: "www.remote.example.com:8082" # proxy to remote address
```
Built-in two upstreams: ban(terminate connection immediately), echo

View File

@ -62,7 +62,7 @@ servers:
upstream:
nginx: "127.0.0.1:8080"
proxy: "127.0.0.1:1024"
other: "www.remote.example.com:8082" # proxy to remote address
remote: "www.remote.example.com:8082" # proxy to remote address
```
内置两个的upstreamban立即中断连接、echo返回读到的数据

View File

@ -24,4 +24,4 @@ servers:
upstream:
nginx: "127.0.0.1:8080"
proxy: "127.0.0.1:1024"
other: "www.remote.example.com:8082" # proxy to remote address
remote: "www.remote.example.com:8082" # proxy to remote address