Hey guys! :) So I posted the other day about me needing help with my NGINX load balancer and I got it working with the help of Kamal… and I think it’s pretty badass. Is there a way I could somehow throw geographical-location into this NGINX setup and allow users to be routed to nearest/fastest datacenter? If someone says it’s possible, I will post the current nginx setup here for the load balancer. Note: I have 4 servers for users to be directed to, and 1 for load-balancing. :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You can get rid of the load balancer, set up the webservers to accept requests from anyone, and use a DNS service with geodns support such as Amazon Route 53 so that users are routed to the nearest server.
But wouldn’t you loose out on the benefits of having a load balancer then? Or does Amazon Route 53 take on this role in addition to the geographic routing?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.