Hi Everyone,
I first setup one nginx server with a couple server {} and had them listen 443 ssl spdy; they all had separate server_name's
this all worked perfect...I could access each domain via HTTPS and they worked perfectly.
Then I wanted to put a load balancer in front of all of this on Amazon so I created an ELB (elastic load balancer).
I was reading everything I could find and it sounded like the way to do this was turn on proxy_protocol on the ELB and then turn it on on nginx and boom everything would work and I would still be able to access the client's IP addr etc.
Turns out from what I'm experiencing, when you use proxy_protocol some how SNI no longer works and it basically always uses the default_server for 443 and no longer takes into consideration the server_name.
Basically, I need it to be able to read different ssl_certificate's for different domains that I host and I will be hosting 100's+.
What is the best way to go about this?
Thank you so much for your time in advance and if you have any questions please please please ask.
Thank you
I first setup one nginx server with a couple server {} and had them listen 443 ssl spdy; they all had separate server_name's
this all worked perfect...I could access each domain via HTTPS and they worked perfectly.
Then I wanted to put a load balancer in front of all of this on Amazon so I created an ELB (elastic load balancer).
I was reading everything I could find and it sounded like the way to do this was turn on proxy_protocol on the ELB and then turn it on on nginx and boom everything would work and I would still be able to access the client's IP addr etc.
Turns out from what I'm experiencing, when you use proxy_protocol some how SNI no longer works and it basically always uses the default_server for 443 and no longer takes into consideration the server_name.
Basically, I need it to be able to read different ssl_certificate's for different domains that I host and I will be hosting 100's+.
What is the best way to go about this?
Thank you so much for your time in advance and if you have any questions please please please ask.
Thank you