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/09/04 13:05:33 UTC
[GitHub] [apisix] Strangevy opened a new pull request, #7859: feat: proxy-mirror plugin resolve host
Strangevy opened a new pull request, #7859:
URL: https://github.com/apache/apisix/pull/7859
### Description
Fixes #7796
### Checklist
- [ ] I have explained the need for this PR and the problem it solves
- [x] I have explained the changes or the new features added to this PR
- [x] I have added tests corresponding to this change
- [ ] I have updated the documentation to reflect this change
- [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first)
--
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] Strangevy closed pull request #7859: feat: proxy-mirror plugin resolve host
Posted by GitBox <gi...@apache.org>.
Strangevy closed pull request #7859: feat: proxy-mirror plugin resolve host
URL: https://github.com/apache/apisix/pull/7859
--
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 a diff in pull request #7859: feat: proxy-mirror plugin resolve host
Posted by GitBox <gi...@apache.org>.
tokers commented on code in PR #7859:
URL: https://github.com/apache/apisix/pull/7859#discussion_r962401952
##########
t/plugin/proxy-mirror.t:
##########
@@ -696,3 +696,49 @@ passed
passed
passed
passed
+
+
+
+=== TEST 23: set mirror requests host to domain
+--- config
+ location /t {
+ content_by_lua_block {
+ local t = require("lib.test_admin").test
+ local code, body = t('/apisix/admin/routes/1',
+ ngx.HTTP_PUT,
+ [[{
+ "plugins": {
+ "proxy-mirror": {
+ "host": "http://httpbin.org",
+ "parh": "/get"
Review Comment:
Typo
--
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