frps: support custom_404_page

This commit is contained in:
fatedier
2019-04-25 12:29:34 +08:00
parent 6a1f15b25e
commit 0dfd3a421c
5 changed files with 39 additions and 3 deletions

View File

@@ -108,6 +108,9 @@ func NewService() (svr *Service, err error) {
return
}
// Init 404 not found page
vhost.NotFoundPagePath = cfg.Custom404Page
var (
httpMuxOn bool
httpsMuxOn bool