You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/21 02:29:25 UTC

[GitHub] [apisix] starsz commented on issue #2808: bug: example about how to enable Stream proxy is wrong

starsz commented on issue #2808:
URL: https://github.com/apache/apisix/issues/2808#issuecomment-731493387


   Hi, I think the doc had made a mistake on the YAML grammar.
   
   `127.0.0.1:9101`'s type is a string, so quotes should be used on this.
   
   Like this:
   
   ```
   apisix:
     stream_proxy:                 # TCP/UDP proxy
       tcp:                        # TCP proxy address list
         - 9100
         - "127.0.0.1:9101"
       udp:                        # UDP proxy address list
         - 9200
         - "127.0.0.1:9211"
   ```
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org