monkeyDluffy6017 commented on code in PR #9607:
URL: https://github.com/apache/apisix/pull/9607#discussion_r1226045786


##########
docs/en/latest/stream-proxy.md:
##########
@@ -29,7 +29,7 @@ APISIX can serve as a stream proxy, in addition to being an 
application layer pr
 
 By default, stream proxy is disabled.
 
-To enable the option, add the `apisix.stream_proxy` option in 
`conf/config.yaml` and specify a list of addresses which APISIX should act as a 
stream proxy and listen for incoming requests.
+To enable this option, set `apisix.proxy_mode` to `stream` or `http&stream`, 
depending on whether you want stream proxy only or http and stream. Then add 
the apisix.stream_proxy option in conf/config.yaml and specify the list of 
addresses where APISIX should act as a stream proxy and listen for incoming 
requests.

Review Comment:
   ```suggestion
   To enable this option, set apisix.proxy_mode to stream or http&stream, 
depending on whether you need only stream proxy or both http and stream. Then 
add the apisix.stream_proxy option in conf/config.yaml and specify the list of 
addresses where APISIX should act as a stream proxy and listen for incoming 
requests.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to