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 2021/01/14 03:20:40 UTC

[GitHub] [apisix-dashboard] htwdjqr commented on issue #1294: request help: traffic-split plugin does not work

htwdjqr commented on issue #1294:
URL: https://github.com/apache/apisix-dashboard/issues/1294#issuecomment-759899440


   config like this,It works.
   thanks. @nic-chen @Firstsawyou 
   
   {
   	"rules": [{
   		"match": [{
   			"vars": [
   				[
   					"http_release",
   					"==",
   					"new_release"
   				]
   			]
   		}],
   		"weighted_upstreams": [{
   			"upstream": {
   				"name": "upstream_A",
   				"nodes": {
   					"192.168.100.21:8002": 10
   				},
   				"type": "roundrobin"
   			}
   		}]
   	}]
   }


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