[GH-ISSUE #1954] 建议在配置文件里增加自定义“错误页面提示语” #1556

Closed
opened 2026-05-05 12:59:09 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @benson-album on GitHub (Aug 24, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1954

现有错误页面提示语:

The page you requested was not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.

The server is powered by frp.

Faithfully yours, frp.

中会留下服务器指纹,有一定的安全隐患。虽然可下载源码进行修改再编译,遇到版本升级却是不便,建议在配置文件中增加自定义项。

Originally created by @benson-album on GitHub (Aug 24, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1954 现有错误页面提示语: ``` The page you requested was not found. Sorry, the page you are looking for is currently unavailable. Please try again later. The server is powered by frp. Faithfully yours, frp. ``` 中会留下服务器指纹,有一定的安全隐患。虽然可下载源码进行修改再编译,遇到版本升级却是不便,建议在配置文件中增加自定义项。
Author
Owner

@Becods commented on GitHub (Aug 24, 2020):

好建议
但是优先级应该不会太高,frp更新并不是很频繁,完全有充足的时间编译,且可以使用action进行云编译

<!-- gh-comment-id:679102074 --> @Becods commented on GitHub (Aug 24, 2020): 好建议 但是优先级应该不会太高,frp更新并不是很频繁,完全有充足的时间编译,且可以使用action进行云编译
Author
Owner

@fatedier commented on GitHub (Aug 24, 2020):

Duplicate of https://github.com/fatedier/frp/issues/1624

<!-- gh-comment-id:679121517 --> @fatedier commented on GitHub (Aug 24, 2020): Duplicate of https://github.com/fatedier/frp/issues/1624
Author
Owner

@smallfish01 commented on GitHub (Mar 9, 2022):

目前临时解决办法是,修改/opt/frp/pkg/util/vhost/resource.go文件内容,然后再make一次即可。

<!-- gh-comment-id:1062507872 --> @smallfish01 commented on GitHub (Mar 9, 2022): 目前临时解决办法是,修改/opt/frp/pkg/util/vhost/resource.go文件内容,然后再make一次即可。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1556
No description provided.