hexiaofeng opened a new issue, #7260: URL: https://github.com/apache/apisix/issues/7260
### Description
As a user, I want to add header rewriting to traffict_split plugin, so that
it simplifies the setting of multiple lanes。
{
"uri": "/index.html",
"plugins": {
"traffic-split": {
"rules": [
{
"weighted_upstreams": [
{
"upstream": {
"name": "upstream_A",
"type": "roundrobin",
"nodes": {
"127.0.0.1:1981":10
},
"timeout": {
"connect": 15,
"send": 15,
"read": 15
}
},
"headers":{
"X-lane": "A"
},
"weight": 1
},
{
"headers":{
"X-lane": "B"
},
"weight": 1
}
]
}
]
}
},
"upstream": {
"type": "roundrobin",
"nodes": {
"127.0.0.1:1980": 1
}
}
}'
--
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]
