egg icon indicating copy to clipboard operation
egg copied to clipboard

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

Open Great-old-one opened this issue 4 years ago • 1 comments

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:

Great-old-one avatar Feb 05 '21 02:02 Great-old-one

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 天内没有进展会被自动关闭。

egg-bot avatar Feb 05 '21 03:02 egg-bot