-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
frp返回错误的页面,访问不同子域名时返回错误页面 #4278
Comments
很早之前也遇到过,当时没有解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
标题: 子域名路由问题:访问不同子域名时返回错误页面
描述:
我在使用FRP进行内网穿透时遇到一个问题,当访问不同的子域名时,会返回错误的页面。当我访问一个子域名(例如
https://subdomain1.example.com:3443
)时,页面显示正常。但随后访问另一个子域名(例如https://subdomain2.example.com:3443
)时,返回的却是第一个子域名的页面。这个问题在不同的设备和网络环境下都存在。关闭浏览器或使用无痕模式可以暂时解决问题,但在切换子域名后问题又会出现。预期行为:
每个子域名应该显示其对应的页面,不应被其他子域名干扰。
实际行为:
访问一个子域名后,再访问另一个子域名会返回错误的页面。
附加信息:
环境:
frpc Version
0.58.1
frps Version
0.58.1
System Architecture
linux/amd64,windows/amd64
Configurations
客户端配置 (
frpc.toml
):服务端配置 (
frps.toml
):Logs
日志似乎没什么特殊的(使用gpt隐去了域名ip等):
Steps to reproduce
https://subdomain1.example.com:3443
,页面显示正常。https://subdomain2.example.com:3443
,页面显示为https://subdomain1.example.com:3443
的内容。https://subdomain2.example.com:3443
,页面显示正常。https://subdomain1.example.com:3443
,页面显示为https://subdomain2.example.com:3443
的内容。Affected area
The text was updated successfully, but these errors were encountered: