We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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-For is 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:
X-Forwarded-For
X-Forwarded-For: 3.95.2.106, 127.0.0.1
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-For header as-is. Thank you!
The text was updated successfully, but these errors were encountered:
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
X-Forwarded-For: <client>, <proxy1>, <proxy2>
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.
Sorry, something went wrong.
home-assistant/core#29868
No branches or pull requests
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-For
is 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-For
header as-is. Thank you!The text was updated successfully, but these errors were encountered: