Skip to content

Commit

Permalink
refactor(): remove cf-connecting-ip from default headers
Browse files Browse the repository at this point in the history
  • Loading branch information
n33pm committed Apr 9, 2024
1 parent cb43924 commit d0d2277
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middleware/realip.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d0d2277

Please sign in to comment.