mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Add fake server identity
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user