[GH-ISSUE #2830] How to custom the 404 page #2264

Closed
opened 2026-05-05 13:27:32 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @smallfish01 on GitHub (Mar 8, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2830

Bug Description

Hello,

When I access FRP server IP from web browser and I got the information:

"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."

I found the information came from /opt/frp/pkg/util/vhost/resource.go, but when I removed these information and restart frps service, then try access frp server again the information still exists.

How can I custom the information? Which file/files should I edit ?

Thank you.

frpc Version

0.38.1

frps Version

0.38.1

System Architecture

Linux/amd64

Configurations

Configuration files are ok, I can access the custom domain from outside.

Logs

No response

Steps to reproduce

  1. Access FRP server IP from web browser;
  2. Got information:
    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.

  1. I want to change the information, sush as: It works.

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @smallfish01 on GitHub (Mar 8, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2830 ### Bug Description Hello, When I access FRP server IP from web browser and I got the information: "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](https://github.com/fatedier/frp). Faithfully yours, frp." I found the information came from /opt/frp/pkg/util/vhost/resource.go, but when I removed these information and restart frps service, then try access frp server again the information still exists. How can I custom the information? Which file/files should I edit ? Thank you. ### frpc Version 0.38.1 ### frps Version 0.38.1 ### System Architecture Linux/amd64 ### Configurations Configuration files are ok, I can access the custom domain from outside. ### Logs _No response_ ### Steps to reproduce 1. Access FRP server IP from web browser; 2. Got information: 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](https://github.com/fatedier/frp). Faithfully yours, frp. 4. I want to change the information, sush as: It works. ... ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:27:33 -06:00
Author
Owner

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

bf635c0e90/conf/frps_full.ini (L129)

<!-- gh-comment-id:1062513513 --> @xqzr commented on GitHub (Mar 9, 2022): https://github.com/fatedier/frp/blob/bf635c0e902c5e4b07de55440c6886d7f919dfc8/conf/frps_full.ini#L129
Author
Owner

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

Thank you so much.

<!-- gh-comment-id:1062704057 --> @smallfish01 commented on GitHub (Mar 9, 2022): Thank you so much.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 9, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1093524033 --> @github-actions[bot] commented on GitHub (Apr 9, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2264
No description provided.