From 421ad8c9796f91744eee1fafe507e3e46799233f Mon Sep 17 00:00:00 2001 From: KernelErr <45716019+KernelErr@users.noreply.github.com> Date: Tue, 26 Oct 2021 23:27:03 +0800 Subject: [PATCH] Fix example config --- README-EN.md | 2 +- README.md | 2 +- example-config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-EN.md b/README-EN.md index c048bc0..d96abef 100644 --- a/README-EN.md +++ b/README-EN.md @@ -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 diff --git a/README.md b/README.md index 5c07f87..e163ad0 100644 --- a/README.md +++ b/README.md @@ -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 ``` 内置两个的upstream:ban(立即中断连接)、echo(返回读到的数据)。 diff --git a/example-config.yaml b/example-config.yaml index 7a62da1..c23dd68 100644 --- a/example-config.yaml +++ b/example-config.yaml @@ -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 \ No newline at end of file + remote: "www.remote.example.com:8082" # proxy to remote address \ No newline at end of file