Hi!
Unfortunately, I didn't find a very good solution for this, but, in nginx 1.4+ the issue with SSL backend keepalive was fixed - so if you have a list of all your possible servers, your configuration file will look horrible, but you can achieve this by having all the backend servers defined as upstreams with different "server" clauses for each of the proxies.
Cheers,
- Roy