Nginx load distribution and multi-domain SSL
- by Steve Clark
I'm researching into the best methods of two new parts of our infrastructure, hopefully finding a single solution for both.
1) We're currently running a single application server, and we're going to be adding an additional application server and load balance between the two.
2) We handle a few thousand domains across the application server(s), and we're looking to support SSL.
The best method i've come across so far is using nginx for it's Load Distribution to serve the requests to the application servers, and for it's SSL support. If a request is using SSL, nginx accepts the request on, terminates SSL and pipes to apache (app servers).
Now, that's all good, but i'm yet to figure out how we can let nginx handle multiple domains using SSL. We're potentially looking at using UCC SSL Certs, so we can support 150 domains on a single certificate, with each cert on a single IP.
I'm all new to this (My experience is just with physical load balancers and a single domains on SSL), so any advice would be very much appreciated.