Add fake server identity

pull/1/head
Nikita Tokarchuk 3 years ago
parent b106844c22
commit e98fdf569c
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 3
      frontend/main.go

@ -13,6 +13,8 @@ import (
var Version = "nightly" var Version = "nightly"
const frontendServerIdentity = "Microsoft-IIS/6.0"
func main() { func main() {
if viper.GetBool("version") { if viper.GetBool("version") {
@ -48,6 +50,7 @@ func main() {
httpServer := fasthttp.Server{ httpServer := fasthttp.Server{
Logger: logrus.StandardLogger(), Logger: logrus.StandardLogger(),
Name: frontendServerIdentity,
GetOnly: true, GetOnly: true,
} }

Loading…
Cancel
Save