I'm trying to figure out the best way to handle dynamic proxying of HTTP requests.
Basically I want to take a dynamic hostname in the form of myname.cust.mydomain.example
and then forward requests to an HTTP backend server with the name "myname" taken from the hostname.
I've been racking my brain trying to figure out the best way to handle this and if HAProxy is even up to the task.
Another option I was thinking was something like Lighttpd with LUA or even Nginx.