[GH-ISSUE #1012] 在每一个HTTP/HTTPS请求中添加X-Forwarded-For 和 X-Real-IP #800

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

Originally created by @hiouttime on GitHub (Dec 18, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/1012

不清楚是否这样会加大消耗,而导致作者选择了只在首次连接中加入这两个头。
因实际环境有需要,还是希望能开放此功能。

另外希望能支持子域名/泛域名的泛解析,FRPS能够处理 *.frp.com直接转发到frp中。
(目前是有一台处于内网的服务器,内部署了20多个网站,外一台FRPS服务器,希望能一次性转发)

Originally created by @hiouttime on GitHub (Dec 18, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/1012 不清楚是否这样会加大消耗,而导致作者选择了只在首次连接中加入这两个头。 因实际环境有需要,还是希望能开放此功能。 另外希望能支持子域名/泛域名的泛解析,FRPS能够处理 *.frp.com直接转发到frp中。 (目前是有一台处于内网的服务器,内部署了20多个网站,外一台FRPS服务器,希望能一次性转发)
Author
Owner

@fatedier commented on GitHub (Dec 18, 2018):

已支持,https 由于不会在服务器上存放证书,不会修改用户请求,无法支持。

<!-- gh-comment-id:448086247 --> @fatedier commented on GitHub (Dec 18, 2018): 已支持,https 由于不会在服务器上存放证书,不会修改用户请求,无法支持。
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#800
No description provided.