diff --git a/server/proxy/https.go b/server/proxy/https.go index 873e826..06a77ed 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -198,6 +198,7 @@ func buildMyHttpsRequest(hostName string, c net.Conn) *http.Request { addr = strings.Split(addr, ":")[0] r.Header.Set("X-Forwarded-For", addr) r.Header.Set("X-Real-IP", addr) + r.Header.Set("X-IP", addr) return r }