idbeta opened a new issue #2808:
URL: https://github.com/apache/apisix/issues/2808


   ### Issue description
   ```
   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
   ```
   should be 
   ```
   apisix:
     stream_proxy:                 # TCP/UDP proxy
       tcp:                        # TCP proxy port list
         - 9100
         - 9101
       udp:                        # UDP proxy port list
         - 9200
         - 9211
   ```
   otherwise
   ```
   nginx: [error] init_by_lua error: 
.../apisix//deps/share/lua/5.1/tinyyaml.lua:641: failed to classify line:       
  127.0.0.1:9101
   stack traceback:
        [C]: in function 'error'
        .../apisix//deps/share/lua/5.1/tinyyaml.lua:641: in function 'parsemap'
   ```
   ### Environment
   
   * apisix version (cmd: `apisix version`): master
   * OS:
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to