playerx
playerx•2y 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•2y ago
Did you find an answer? I don't get the IP address or any location headers from CloudFlare 🤔
Esente
Esente•2y ago
Would using a route worker work?
martpet
martpet•2y ago
Do you recommend using CloudFlare with Deno Deploy?
Esente
Esente•2y 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
playerxOP•2y 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 .

Did you find this page helpful?