RexHuang opened a new issue, #2505:
URL: https://github.com/apache/apisix-dashboard/issues/2505
### Issue description
Want to redirect user-agent with MS Edge browser. but not working.
### Expected behavior
should redirect when user-agent HAS Edg.
### How to Reproduce
settings:
{
"uri": "/*",
"name": "test",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"vars": [
[
"user-agent",
"HAS",
"Edg"
]
],
"plugins": {
"proxy-rewrite": {
"host": "x.x.x.x:3000"
}
},
"upstream": {
"nodes": [
{
"host": "x.x.x.x",
"port": 3000,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"status": 1
}
### Screenshots
_No response_
### Environment
- apisix version (cmd: `apisix version`):apisix:2.13.0-alpine
- OS (cmd: `uname -a`):CentOS Linux 7
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
- etcd version, if have (cmd: run `etcd --version`): etcd:3.4.15
- apisix-dashboard version, if have: 2.10.1-alpine
- Browser version, if have:
image: apache/apisix-dashboard:2.10.1-alpine
image: apache/apisix:2.13.0-alpine
image: bitnami/etcd:3.4.15
### Additional context
_No response_
--
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]