william.
william.
CDCloudflare Developers
Created by william. on 9/15/2024 in #general-help
Loadbalancing failover only
Hello there, i'm very uneducated with load balancing. A month ago I subscribed to CF loadbalancing and created my two endpoints (which are two OVH servers with different IP & location). The loadbalancing works well, request sent to my api.xxxxx.xxx will sometime end up on the first server or on the other which is expected behavior I guess. I want to change the way it works by sending all the request to the first server when the first server is healthy. I want to send to server 2 only when server 1 is down. I don't see this option it the "Traffic steering" step so I'm wondering how to achieve that ? I tried setting the server 2 weight to like 1% but it doesn't seem to change anything. Thank you very much !
4 replies
CDCloudflare Developers
Created by william. on 2/8/2024 in #general-help
Loadbalancing, nginx & certs question
Hello everyone, i'm in the process of creating a synchronised replica of my dedicated server. At the moment, the second server is ready. The dedicateds are hosting DB + Backends. In regard of loadbalancing, for my dns "api.foo.bar", should I just have an nginx config without certifications on both servers and let the SSL be handled by cloudflare ? I haven't tried yet, but i'm pretty sure I will encounter issue generating ssl certificates on both server (different IP) for the same DNS using certbot. How do you go about this ? Thank you !
4 replies