diff --git a/pkg/util/vhost/http.go b/pkg/util/vhost/http.go index 05ec174b..7be0970d 100644 --- a/pkg/util/vhost/http.go +++ b/pkg/util/vhost/http.go @@ -136,7 +136,7 @@ func NewHTTPReverseProxy(option HTTPReverseProxyOptions, vhostRouter *Routers) * return } } - rw.WriteHeader(http.StatusNotFound) + rw.WriteHeader(http.StatusBadGateway) _, _ = rw.Write(getNotFoundPageContent()) }, }