cloudflare / cloudflare/cf-ip-rewrite

Usage behind load balancer

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
15
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The load balancer has internal IP, so REMOTE_ADDR isn't from Cloudflare.

Something like `CloudflareRemoteIPTrustedProxy` in mod_cloudflare would be useful.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating where REMOTE_ADDR is handled in this PHP project and read the existing mod_cloudflare-related behavior, then compare it with the load-balancer setup described here. Done should include a clearly defined way to obtain the client IP behind Cloudflare and coverage for that configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.