Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

egg-http-proxy无法代理https请求 #4602

Open
Great-old-one opened this issue Feb 5, 2021 · 1 comment
Open

egg-http-proxy无法代理https请求 #4602

Great-old-one opened this issue Feb 5, 2021 · 1 comment

Comments

@Great-old-one
Copy link

What happens?

egg-http-proxy无法处理目标网站为https协议的网站

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue.
Use npm init egg --type=simple bug then upload to your GitHub

How To Reproduce

Steps to reproduce the behavior:
1.按照官方教程进行配置
2.await this.ctx.proxyRequest(xxxxxx)

Expected behavior
查看了一下eggjs/egg-http-proxy的源码,发现没有对协议进行处理

Context

  • Node Version:
  • Egg Version:
  • Plugin Name:
  • Plugin Version:
  • Platform:
@egg-bot
Copy link

egg-bot commented Feb 5, 2021

Hello @Great-old-one. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@Great-old-one,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants