Welcome! Log In Create A New Profile

Advanced

proxy_protocol + SNI ???

Posted by detail58 
proxy_protocol + SNI ???
January 05, 2015 09:57PM
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
Re: proxy_protocol + SNI ???
January 06, 2015 02:13PM
Resolved, Thank you.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready