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 2022/12/20 08:12:47 UTC
[GitHub] [apisix] shixiaoge opened a new issue, #8541: bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常
shixiaoge opened a new issue, #8541:
URL: https://github.com/apache/apisix/issues/8541
### Current Behavior
### 路由配置
```txt
{
"uri": "/test/*",
"name": "test",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
],
"plugins": {
"ext-plugin-post-resp": {
"conf": [
{
"name": "Test",
"value": "{}"
}
],
"disable": false
},
"proxy-rewrite": {
"host": "www.test.com",
"regex_uri": [
"/test/(.*)",
"/$1"
],
"scheme": "http"
}
},
"service_id": "438694776414407728",
"status": 1
}
```
## 问题
`启用 ext-plugin-post-resp 插件后,域名改写 无效`
``
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
1. 配置Service,节点类型 IP + 端口 (nginx服务器)
2. 配置路由,配置域名改写
3. 访问测试,观察上游服务器 nginx 日志,$host 部分 (域名改写正常)
4. 启用 ext-plugin-post-resp 插件
5. 访问测试,观察上游服务器 nginx日志,$host部分 (域名改写不生效)
### Environment
- APISIX version (run `apisix version`): 3.0.0
- Operating system (run `uname -a`): centos7.9
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant: 2.9.0
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常 [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8541: bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常
URL: https://github.com/apache/apisix/issues/8541
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常 [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8541:
URL: https://github.com/apache/apisix/issues/8541#issuecomment-1994008611
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常 [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8541:
URL: https://github.com/apache/apisix/issues/8541#issuecomment-2024825605
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] a11enhuang commented on issue #8541: bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常
Posted by "a11enhuang (via GitHub)" <gi...@apache.org>.
a11enhuang commented on issue #8541:
URL: https://github.com/apache/apisix/issues/8541#issuecomment-1487885572
配置headers也会失效
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8541: bug: apisix3.0启用ext-plugin-post-resp插件后,域名改写异常
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #8541:
URL: https://github.com/apache/apisix/issues/8541#issuecomment-1359063208
Please provide a more detailed reproducible case. What does the request look like? What does the response look like?
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org