diff --git a/internal/reverse/response.go b/internal/reverse/response.go index 26ce516..256ef82 100644 --- a/internal/reverse/response.go +++ b/internal/reverse/response.go @@ -35,7 +35,7 @@ func (reverse *Reverse) ModifyResponse(shost string) func(response *http.Respons } } - response.Header.Add("GoblinServer", Version) + //response.Header.Add("GoblinServer", Version) err := reverse.modifyLocationHeader(shost, response) if err != nil { log.Info(err.Error()) diff --git a/internal/reverse/reverse.go b/internal/reverse/reverse.go index c93c5e7..07e7b87 100644 --- a/internal/reverse/reverse.go +++ b/internal/reverse/reverse.go @@ -130,6 +130,6 @@ func (reverse *Reverse) ServeHTTP(w http.ResponseWriter, r *http.Request) { proxy.ServeHTTP(w, r) return } - w.Header().Set("GoblinServer", Version) + //w.Header().Set("GoblinServer", Version) w.Write([]byte("403: Host forbidden")) }