-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
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
[Bug] title和icon获取错误当上游服务器存在多个服务的时候 #821
Comments
确实有这样的问题 |
我以为上游是根据x-Forwarded-Host 来判断访问的是谁 然后忽略host里面的内容,看来我猜测错了. 我还在想如果通过x-Forwarded-Host是不是会很不安全. |
这种都是上游有相关的特殊处理。比如网站要返回一个用户能访问的绝对 url,就得知道客户端用的域名。还有些知道客户端连接的协议,是内部有要求连接必须为 https。总体用得并不多,站点访问起来没问题的话就不用管的。 |
感谢解惑 |
已在 5.3.3 版本中修复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
当上游服务存在多个站点的时候,或者title和icon会出现错误
版本号
5.3.2
复现方法
期望的结果
当 enable的时候 传递客户端连接的 host 和协议, 携带host访问上游服务并且获取到正确的title和icon
The text was updated successfully, but these errors were encountered: