Is it possible to use regular expressions on Digital Oceans Load Balancers? I currently use a droplet with HAProxy to achieve my goals but I would prefer if I could handle it outside of maintaining another droplet.
What I would like to do is forward a request to a specific droplet based on the URI.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Yes, currently this functionality is not supported by the DO LB.
Would it be possible for you to use apiX.site.com/ instead, where X is the api version?
Because what you’re asking for is not load balancing, it’s more of a routing functionality.
Otherwise you might want to look at CloudFlare or similar services, since they support page rules, where you can configure it to use a specific server with some urls.
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.