mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1767] Request: option to not modify X-Forwarded-For header #1397
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#1397
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 @delfer on GitHub (Apr 18, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1767
Hello!
@fatedier Thank you very much for this beautiful software!!!
I'm using a reverse proxy (https://github.com/containous/traefik) in the front of FRPS and header
X-Forwarded-Foris already set.But FRPS always adds a new entry into the list at https://github.com/fatedier/frp/blob/master/utils/vhost/reverseproxy.go#L248
And I have this:
But my endpoint server (https://github.com/home-assistant/core) does not recognize the list in this header.
Please, add an option to leave
X-Forwarded-Forheader as-is. Thank you!@fatedier commented on GitHub (Apr 19, 2020):
I'm confused why https://github.com/home-assistant/core can't support this format?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
ReverseProxy codes are copied from go standard library. I prefer not to modify it.
Maybe you can create an issue of https://github.com/home-assistant/core to solve this problem.
@CzBiX commented on GitHub (Jul 21, 2020):
https://github.com/home-assistant/core/issues/29868