mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3259] [Feature Request] 用https访问不能链接或未配置的域名时,不能跳转到自定义的404错误页面。 #2611
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#2611
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 @vpei on GitHub (Jan 18, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3259
Describe the feature request
用https访问不能链接或未配置的域名时,不能跳转到自定义的404错误页面。提示此站点的连接不安全,ERR_SSL_PROTOCOL_ERROR。
Describe alternatives you've considered
用https访问不能链接或未配置的域名时,不能跳转到自定义的404错误页面。提示此站点的连接不安全,ERR_SSL_PROTOCOL_ERROR。
Affected area
@Becods commented on GitHub (Jan 23, 2023):
请选择正确的分类

frp默认的404界面不适用于https
@nkxingxh commented on GitHub (Feb 10, 2023):
你要知道https是需要加密证书的。frps不可能为未绑定的域名生成一张受信任的证书。
@vpei commented on GitHub (Feb 11, 2023):
不能指定到错误的指定的提示页吗?
@nkxingxh commented on GitHub (Feb 11, 2023):
建议你先了解一下 HTTPS 的基本原理。HTTPS 需要证书与对应的密钥进行加密。
而frps本身无签发证书的能力,故不能对未绑定的域名进行响应。
即使frps有自签证书,也会被浏览器标为不信任。
所以,答案是显然的——不能。
@vpei commented on GitHub (Feb 11, 2023):
可不可以在那种不信任的错误网站页面上,显示错误的提示内容(或跳转到新的网站)?
@nkxingxh commented on GitHub (Feb 11, 2023):
不能。
@github-actions[bot] commented on GitHub (Mar 14, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.