playerx
playerx•14mo ago

Deno Deploy with Cloudflare Proxy

Is it possible to use Cloudflare proxy with Deno deploy website? Cloudflare provides countryCode in headers, and I get only ip address with Deno Deploy
5 Replies
martpet
martpet•13mo ago
Did you find an answer? I don't get the IP address or any location headers from CloudFlare 🤔
Esente
Esente•13mo ago
Would using a route worker work?
martpet
martpet•13mo ago
Do you recommend using CloudFlare with Deno Deploy?
Esente
Esente•13mo ago
It depends on your use case I suppose. Having CF handle the DDOS protection is nice, but if you need things like location headers then probably not
playerx
playerx•12mo ago
Hey guys, sorry for a late response. Yes it's possible to use cloudflare proxy with Deno deploy. The only requirement and missing piece was enabling SSL/TLS encryption mode to Full. By default it was Flexible .