diff --git a/pkg/util/vhost/resource.go b/pkg/util/vhost/resource.go index a65e2997..16a82641 100644 --- a/pkg/util/vhost/resource.go +++ b/pkg/util/vhost/resource.go @@ -29,24 +29,18 @@ var NotFoundPagePath = "" const ( NotFound = ` - -Not Found - - +502 Bad Gateway -

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.

+

502 Bad Gateway

+
frp
+ + + + + + ` ) @@ -74,8 +68,8 @@ func NotFoundResponse() *http.Response { content := getNotFoundPageContent() res := &http.Response{ - Status: "Not Found", - StatusCode: 404, + Status: "Bad Gateway", + StatusCode: 502, Proto: "HTTP/1.1", ProtoMajor: 1, ProtoMinor: 1,