mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
return ssl alert unrecognized_name when https domain not registered (#3620)
This commit is contained in:
@@ -67,7 +67,7 @@ func getNotFoundPageContent() []byte {
|
||||
return buf
|
||||
}
|
||||
|
||||
func notFoundResponse() *http.Response {
|
||||
func NotFoundResponse() *http.Response {
|
||||
header := make(http.Header)
|
||||
header.Set("server", "frp/"+version.Full())
|
||||
header.Set("Content-Type", "text/html")
|
||||
|
||||
Reference in New Issue
Block a user