Add http2http client plugin with hostHeaderRewrite and requestHeaders support (#4275)

This commit is contained in:
fatedier
2024-06-12 17:30:10 +08:00
committed by GitHub
parent f390e4a401
commit 939c490768
5 changed files with 186 additions and 8 deletions

View File

@@ -315,6 +315,16 @@ localAddr = "127.0.0.1:443"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
[[proxies]]
name = "plugin_http2http"
type = "tcp"
remotePort = 6007
[proxies.plugin]
type = "http2http"
localAddr = "127.0.0.1:80"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
[[proxies]]
name = "secret_tcp"
# If the type is secret tcp, remotePort is useless