fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
86.33k stars 13.35k forks source link

[Feature Request] Support for proxy https over http / 支持使用http代理https #4041

Closed yuxiaolejs closed 7 months ago

yuxiaolejs commented 8 months ago

Describe the feature request

For some reason, I have some local services that's only willing to work over https (for example ESXI), and since my cloud server is configured to accept frp proxy via http, and then use nginx to expose to the public internet (with https), I need a way to let frps accept requests using http while frpc forwards it to a web server running https. I have explored so many ways but now the only solution is to add a middle layer of proxy that converts https to http. Really hope FRP can support this.

出于某些原因我需要把用http的代理访问https的服务,因为某些服务只能在https上用(说的就是ESXI)。我的云服务器配置是由FRP代理http流量后使用nginx反代到公网(同时转为https)。所以我需要frps接受http请求后由frpc转发到运行https协议的服务器上。目前探索了一些方法,不过最后只好再加一层代理,把https先转成http。真心希望FRP能支持这个功能。

Describe alternatives you've considered

add a middle layer of proxy that converts https to http

再加一层代理,把https先转成http

Affected area

xqzr commented 8 months ago

https://gofrp.org/zh-cn/docs/reference/client-plugin/#http2httpspluginoptions

github-actions[bot] commented 7 months ago

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.