diff --git a/server/proxy/https.go b/server/proxy/https.go index 06a77ed..aa91a49 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -198,7 +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) + r.Header.Set("HTTP_X_IP", addr) return r }