George
George
CDCloudflare Developers
Created by George on 3/7/2024 in #general-help
Load Balancer - Mystery 404s
Hi all, I have created a CloudFlare load balancer: https://ml-inference-lb.photoninsights.com/ It points to two origins: * https://ml-inference.photoninsights.com (up, a CF tunnels instance) * https://ml-inference-backup.photoninsights.com (down, an AWS EC2 instance) It additionally has a healthcheck endpoint at /v2/health/live The healthcheck for origin 1 is 🟢 because it is up. However, when I visit https://ml-inference-lb.photoninsights.com/v2/health/live, I get a mystery 404. In fact, all requests to the LB just give 404. I must be missing something simple here.. Can anyone pls help? 🙏 EDIT: Perhaps because origins are HTTPS? Could this be an issue?
2 replies
CDCloudflare Developers
Created by George on 2/26/2024 in #general-help
Exclude Path from Bulk Redirect
Hi all, On our production site, we have a bulk redirect rule for redirecting all traffic from site.com -> www.site.com. However, for some verification files (eg .well-known/microsoft-identity-association.json) the file must sit on the root domain. I have setup a simple Cloudflare worker for showing that file if the path matches the verification file path. However, as we have a bulk redirect rule, vising site.com/verification.txt will redirect to www.site.com/verification.txt. Is there a way to exclude only this one path? Many thanks!
1 replies