Which metrics? R2 has a free quota/allocation each month: https://developers.cloudflare.com/r2/pricing/ For example, 10 million Class Bs, which would translate into 10 million uncached Images being fetched on a Custom Domain, assuming you are doing just normal requests/1 request per image. On R2 Custom Domains as well, any cache hits don't cost you anything
Thanks for you reply The app is forcing https and for configuration let's say the tunnel is linked with x.x.x.x which is my vm internal ip then the url locally is https://xxx.xxdomain.com/ which is added in wif.services.config and verified through app registration in azure Then in my tunnel, I'm linking my xxx.xxdomain.com with any of the mentioned values in my first message with no tls verify and even tried with creating cloudflare origin certificate and also mode to full restrict
With tunnel it gives me 302 which is redirect issue as I know and it seems it's forwarding a url that is not the same as the one that should be passed from azure app registration and unfortunately I can't change it to http as that will make the app not secured
So when redirecting from https://11.mydomain.com/ it reads my origin (https://11.local.com) correctly but at same time give me in cookies that when gives me 302 a warning that my origin is not the same even if I added it in cookiehandler with allow_from
right because the auth setup is expecting local and not mydomain. I think I understand. It's not something CF Tunnels itself can exactly help with eitherway though, at least not directly, need to configure your application to understand its running on a different url/add it to the allowed redirect urls in the azure side. Usually apps have configurations to override that and such
probably because somewhere else in the auth side of things, or in one of the configs somewhere, it still doesn't understand it's running somewhere else. I don't know the applications in your setup/never used ws-federation before, so I don't know exactly what. You'd hit these issues when putting the app behind any sort of proxy though, tunnels aren't special in that regard Auth like that is messy with redirects and allowed origins, configs on both azure and local in various spots I'd imagine
If I had to guess, it sounds like to me it's not understanding you authenticated and is redirecting for auth each time. Could be because it doesn't think the auth is for that domain/not scoped to it, on either side
I'm not sure which scope should it get as when I check the sent in cookies it is the same value of domain in all configuration, but I'm not sure what happens between the azure app registration and the cloudflare when trying to connect at first
Good morning. I'm new about Cloudflare so I have a question. I'm working in a Nextjs project deployed to aws with SST framework, SST set a Cloudfront distribution automatically, and it can't be changed, so I wanna to protect my application against DDOS and other dangers attacks so I heard about Cloudflare. The problem is, there a way to use Cloudflare protection without use it CDN? Because I can't change CDN from Cloudfront to Cloudflare, and use two CDNs one above other, can result in hight costs with bandwith.
Idea is to put Cloudflare in front of CloudFront, but add a cache rule/page rule that bypasses all caching capabilities in CloudFlare (while remaining proxied orange cloud, for security) and let CloudFront handle the caching/CDN for you
As for security point, you would have to somehow limit access to your CloudFront distribution to only accept CloudFlare IPS or smth idk. Someone probably have a better implementation or smth
So if I set cache bypasses, cloudflare will work basically as I reverse proxy to protect my application on cloudfront and don't will be two layers of bandwidth cost?
CF for SaaS, as kind of in the name (Software-as-service), is meant for hooking up your customers custom/vanity domains with your software/pointing at your origins/workers/servers.
If you wanted to let them proxy stuff through Cloudflare/use the CDN, you'd probably want the partner program/tenant setup, where they have full zones/websites and accounts: https://developers.cloudflare.com/tenant/structure/