docs: fix stream proxy example (#2819)

fix #2808
This commit is contained in:
Peter Zhu 2020-11-23 11:18:40 +08:00 committed by GitHub
parent 7cd7a96242
commit 2649d1cf1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -35,10 +35,10 @@ apisix:
stream_proxy: # TCP/UDP proxy stream_proxy: # TCP/UDP proxy
tcp: # TCP proxy address list tcp: # TCP proxy address list
- 9100 - 9100
- 127.0.0.1:9101 - "127.0.0.1:9101"
udp: # UDP proxy address list udp: # UDP proxy address list
- 9200 - 9200
- 127.0.0.1:9211 - "127.0.0.1:9211"
``` ```
## How to set route? ## How to set route?

View File

@ -35,10 +35,10 @@ apisix:
stream_proxy: # TCP/UDP proxy stream_proxy: # TCP/UDP proxy
tcp: # TCP proxy address list tcp: # TCP proxy address list
- 9100 - 9100
- 127.0.0.1:9101 - "127.0.0.1:9101"
udp: # UDP proxy address list udp: # UDP proxy address list
- 9200 - 9200
- 127.0.0.1:9211 - "127.0.0.1:9211"
``` ```
## 如何设置 route ? ## 如何设置 route ?