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
Did you find an answer? I don't get the IP address or any location headers from CloudFlare 🤔
Would using a route worker work?
Do you recommend using CloudFlare with Deno Deploy?
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
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
.![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1135830143269609523/Screenshot_2023-08-01_at_11.03.01.png)