[GH-ISSUE #678] https下不支持host_header_rewrite吗 #532

Closed
opened 2026-05-05 12:20:53 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @MonwF on GitHub (Mar 28, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/678

What version of frp are you using (./frpc -v or ./frps -v)?
frps: 0.16.1 linux
frpc: 0.16.1 mac

Configures you used:

frps:

[common]
bind_port = 1234

privilege_allow_ports = 8800-30000
privilege_token = abc-frp

vhost_http_port = 2080
vhost_https_port = 2443
subdomain_host = frp.com

frpc:

[sweb]
type = https
local_ip = a.foo.com
local_port = 443
subdomain = my
host_header_rewrite = a.foo.com

访问 https://my.frp.com:2443 时传递给 a.foo.com 的header里host依然是 my.frp.com:2443,而非a.foo.com

Originally created by @MonwF on GitHub (Mar 28, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/678 **What version of frp are you using (./frpc -v or ./frps -v)?** frps: 0.16.1 linux frpc: 0.16.1 mac **Configures you used:** frps: ```ini [common] bind_port = 1234 privilege_allow_ports = 8800-30000 privilege_token = abc-frp vhost_http_port = 2080 vhost_https_port = 2443 subdomain_host = frp.com ``` frpc: ```ini [sweb] type = https local_ip = a.foo.com local_port = 443 subdomain = my host_header_rewrite = a.foo.com ``` 访问 https://my.frp.com:2443 时传递给 a.foo.com 的header里host依然是 my.frp.com:2443,而非a.foo.com
Author
Owner

@fatedier commented on GitHub (Mar 28, 2018):

看说明文档,不支持 https,只支持 http。

<!-- gh-comment-id:376932281 --> @fatedier commented on GitHub (Mar 28, 2018): 看说明文档,不支持 https,只支持 http。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#532
No description provided.