I have built website where some parts of the site rely on Cloudflare Warp + Cloudflare Worker combo.
Without Cloudflare Warp the Worker will not work (due to geoblock’s on API calls).
What’s my best way to detect server side (PHP) if user has Cloudflare Warp on?
I simply want to just do check, and if user isn’t running Cloudeflare Warp, then give him a pop up “Hey, in order for our stuff to function properly you need to be running Cloudeflar warp”
I’m not the best at the explaining, but in short, it’s Cloudflares own “VPN”.
When combined with Cloudflare Workers, it allows nicely sending API requests across multiple servers while still all of the request will maintain the Client’s IP in headers.
This helps on accessing Geoblocked content through API, even if your server is in Geoblocked area, but the actual user is in non-geoblocker area.