htwdjqr opened a new issue #3271:
URL: https://github.com/apache/apisix/issues/3271


   ### Issue description
   traffic-split plugin does not work.
   
   traffic-split config:
   {
     "disable": false,
     "traffic-split": {
       "rules": [{
         "match": [{
           "vars": [
             [
               "http_release",
               "==",
               "new_release"
             ]
           ]
         }],
         "weighted_upstreams": [{
           "upstream": {
             "name": "upstream_A",
             "nodes": {
               "192.168.100.21:8002": 10
             },
             "type": "roundrobin"
           }
         }]
       }]
     }
   }
   
   request like this:
   
![企业微信截图_16105345164716](https://user-images.githubusercontent.com/26807197/104441752-0f680a80-55cf-11eb-8485-65ce94aab657.png)
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):2.2
   * OS: (cmd: `uname -a`)
   * OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to