Add fake server identity

This commit is contained in:
2021-12-03 02:19:47 +01:00
parent b106844c22
commit e98fdf569c
+3
View File
@@ -13,6 +13,8 @@ import (
var Version = "nightly"
const frontendServerIdentity = "Microsoft-IIS/6.0"
func main() {
if viper.GetBool("version") {
@@ -48,6 +50,7 @@ func main() {
httpServer := fasthttp.Server{
Logger: logrus.StandardLogger(),
Name: frontendServerIdentity,
GetOnly: true,
}