mangoGoForward commented on a change in pull request #6378: URL: https://github.com/apache/apisix/pull/6378#discussion_r810735963
########## File path: docs/en/latest/plugins/redirect.md ########## @@ -124,6 +124,17 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f1 }' ``` +Testing based on the above examples : + +```shell +$ curl http://127.0.0.1:9080/hello -i +HTTP/1.1 301 Moved Permanently +... +Location: https://127.0.0.1/hello Review comment: > The default port for the APISIX proxy https protocol is 9443. @tokers See the `Location` header of response, it redirected to `https`. And I found some test cases in `t/plugin/redirect.t`: https://github.com/apache/apisix/blob/42e84e437fa532f24523f5b38015436e1fcc013f/t/plugin/redirect.t#L431-L438 Seems we don't need to update? -- 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]
