mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4462] [Feature Request] 希望不要改变X_FORWARDED_PROTO的值 #3527
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3527
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DaPoHou on GitHub (Sep 28, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4462
Describe the feature request
这两天把frp升级到了0.60(之前一直用的0.36.2),我是使用公网nginx 通过https ---> frp --->内网http服务。很多正常的链接都无法访问,通过排查发现是公网nginx中的HTTP_X_FORWARDED_PROTO原为https,通过frp被修改为了http。
而在之前的版本都是没有被修改的,正常的。
希望新版本不要修改HTTP_X_FORWARDED_PROTO,继续保留公网nginx传输的值。
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Oct 9, 2024):
可以使用
requestHeaders.set的配置主动覆盖设置一个值,这部分目前不支持自定义,未来会考虑。@DaPoHou commented on GitHub (Oct 9, 2024):
是的,目前只能这样。
测试发现0.51.3版本也是正常的,没有修改从公网nginx传来的HTTP_X_FORWARDED_PROTO的值。
是后面某个版本改掉了。
@github-actions[bot] commented on GitHub (Oct 31, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.