Results 250 comments of fatedier

https://github.com/fatedier/frp#http-x-forwarded-for It is currently only valid for HTTP.

However, perhaps we can achieve it by enabling proxy protocol support in the https2http plugin.

@pierre-pretorius I looked into it, but I couldn't figure out under what circumstances this issue would occur. It's quite strange. Are you using the binary files downloaded from GitHub or...

In addition, starting from version 0.50.0, TLS will be enabled by default. The traffic between frpc and frps will be encrypted, so you no longer need to use `use_encryption =...

@pierre-pretorius I have discovered a race condition issue, but I am not sure if it is related to your problem. I will fix this issue and release a minor version.

Currently, this feature is not supported, but I think maybe it can be considered later.

不太了解相关的背景,你期望的解决方案是什么?以及是否有其他的被广泛使用的代理提供了相应的可参考的解决方案,比如 nginx?

@rty813 如果默认就附加上 `Access-Control-Allow-Origin` header 会有安全风险吗?是否是一个标准的做法?

可以考虑支持添加返回特定 header 的功能来解决这个问题。但是这方面的能力还是有限的,复杂的需求后面还是需要依赖 nginx 之类的代理解决。