apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: how to redirect https to http?

Open forcemeter opened this issue 2 years ago • 2 comments

Description

i want redirect https request to http. (dog)

is there any functional or redirect plugin's like http_to_https?

我想将https请求重定向到http,现在是否支持,或者有没有插件类似于http_to_https。

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • 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:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

forcemeter avatar Jul 29 '22 09:07 forcemeter

@botsphp You cannot implement this need via redirect plugin, but you can support it by using the serverless-function plugin. See https://apisix.apache.org/docs/apisix/plugins/serverless/ for more details.

tokers avatar Jul 31 '22 11:07 tokers

hey @botsphp, could you explain what's the scenario and what's your expectation? Describe in more detail by cURL, pls.

Maybe I can work on it when I get your intention.

kwanhur avatar Aug 08 '22 15:08 kwanhur

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 [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Jul 25 '23 10:07 github-actions[bot]

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.

github-actions[bot] avatar Aug 09 '23 10:08 github-actions[bot]