Fix example config
This commit is contained in:
parent
a88a263d20
commit
421ad8c979
@ -55,7 +55,7 @@ servers:
|
|||||||
upstream:
|
upstream:
|
||||||
nginx: "127.0.0.1:8080"
|
nginx: "127.0.0.1:8080"
|
||||||
proxy: "127.0.0.1:1024"
|
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
|
Built-in two upstreams: ban(terminate connection immediately), echo
|
||||||
|
@ -62,7 +62,7 @@ servers:
|
|||||||
upstream:
|
upstream:
|
||||||
nginx: "127.0.0.1:8080"
|
nginx: "127.0.0.1:8080"
|
||||||
proxy: "127.0.0.1:1024"
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
内置两个的upstream:ban(立即中断连接)、echo(返回读到的数据)。
|
内置两个的upstream:ban(立即中断连接)、echo(返回读到的数据)。
|
||||||
|
@ -24,4 +24,4 @@ servers:
|
|||||||
upstream:
|
upstream:
|
||||||
nginx: "127.0.0.1:8080"
|
nginx: "127.0.0.1:8080"
|
||||||
proxy: "127.0.0.1:1024"
|
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
|
Loading…
Reference in New Issue
Block a user