eggjs / eggjs/egg

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

Open
#4,602 1 comment 0 reactions 0 assignees View on GitHub
Inactive need-more-information
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

## 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**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.