starsz opened a new issue, #7945: URL: https://github.com/apache/apisix/issues/7945
### Current State Hello, when I read the doc of the "redirect" plugin, https://apisix.apache.org/docs/apisix/plugins/redirect/ I can't get find the way that we can configure the redirect to a url like this `https://apisix.apache.org/docs` But in fact, we support it. For example: ``` curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '{ "methods": ["GET"], "uri":"/*", "host":"test.com", "plugins":{ "redirect":{ "ret_code":301, "uri":"https://apisix.apache.org/docs" } } }' ``` <img width="635" alt="image" src="https://user-images.githubusercontent.com/25628854/191153026-60a53c49-1590-4932-876a-877c54dc27ae.png"> ### Desired State So I want to add some description of configuring the `uri` with the host head. Else it will mislead users that we don't support it. -- 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]
