Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 做域名改写会导致路由乱跳 #11805

Open
zhaomingcheng01 opened this issue Dec 3, 2024 · 0 comments
Open

bug: 做域名改写会导致路由乱跳 #11805

zhaomingcheng01 opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhaomingcheng01
Copy link

Current Behavior

{
"uri": "/",
"name": "view-oss",
"desc": "静态网站托管oss",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"host": "xxx-paas.transsion.com",
"plugins": {
"proxy-rewrite": {
"host": "cnfs-oss-hk.oss-cn-hongkong-internal.aliyuncs.com",
"regex_uri": [
"/(.
)",
"/view/$1"
]
},
"response-rewrite": {
"disable": false,
"headers": {
"content-disposition": ""
}
}
},
"upstream": {
"nodes": [
{
"host": "cnfs-oss-hk.oss-cn-hongkong-internal.aliyuncs.com",
"port": 443,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "https",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"enable_websocket": true,
"status": 1
}

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

我们是想用apisix代理oss,做了一个域名改写,配上去后就路由乱跳,导致了生产事故

Environment

version 3.2.2

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Dec 3, 2024
@dosubot dosubot bot added the bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant