banjomine
CDCloudflare Developers
•Created by banjomine on 10/26/2024 in #general-help
How to block connections that don't use WARP
I want to block all access to my website from laptops that aren't going through warp, how do I do that? it's an api so not sure if I can use like a normal access policy?
12 replies
CDCloudflare Developers
•Created by banjomine on 7/29/2024 in #general-help
CORS/domain issue
I recently moved a domain over to cloudflare, and was hit with some weird api issues, which I think are CORS related. The frontend requests were 404ing and they were being appended to the frontend url automatically, so the 404 was from app.me.com to app.me.com/api.me.com/api/... instead of just api.me.com/api/... Weirdly this only happens on one of my cloudflare hosted websites (I put the same servers on two websites to test). Does anyone have any idea what might be going on? I'm using kubernetes with a frontend and backend deployment.
3 replies
CDCloudflare Developers
•Created by banjomine on 4/22/2024 in #general-help
When to use cloudflare tunnel + nginx or just nginx + cloudflare dns
We are running a kubernetes cluster for prod traffic with customers around the country. Our current setup is nginx load balancer + lets encrypt + external dns. We are switching DNS over to cloudflare for the WAF and ddos protection. Our two options are two use nginx and block all traffic not from cloudflare ips, or to close the nginx to external traffic and route it all through a cloudflare tunnel. What would the recommendation be here? We are very security conscious as we have sensitive data, but would prefer not to compromise on latency/throughput.
9 replies