From d0d2277f2b91216e0af23cad301f4c7518287dfb Mon Sep 17 00:00:00 2001 From: n33pm <12273891+n33pm@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:17:45 +0200 Subject: [PATCH] refactor(): remove cf-connecting-ip from default headers --- middleware/realip.go | 1 - 1 file changed, 1 deletion(-) diff --git a/middleware/realip.go b/middleware/realip.go index f460fd1a..e219bd7c 100644 --- a/middleware/realip.go +++ b/middleware/realip.go @@ -10,7 +10,6 @@ import ( ) var DefaultRealIPHeaders = []string{ - "CF-Connecting-IP", // Cloudflare free plan "True-Client-IP", // Cloudflare Enterprise plan "X-Real-IP", "X-Forwarded-For",