Open janboddez opened 2 years ago
There's "hardcoded" (I mean, it is, but it falls back to Laravel's default Request::ip()) HTTP_CF_CONNECTING_IP header referenced in there somewhere.
Request::ip()
HTTP_CF_CONNECTING_IP
Ideally, implementers would be able to override IPs themselves.
Could use X-Forwarded-For, which isn't exactly the same but can be made to work, too: https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#x-forwarded-for
X-Forwarded-For
There's "hardcoded" (I mean, it is, but it falls back to Laravel's default
Request::ip()
)HTTP_CF_CONNECTING_IP
header referenced in there somewhere.Ideally, implementers would be able to override IPs themselves.