<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nginx as reverse proxy to various domain with different cert</title>
<description>Hi,

I use nginx as reverse proxy to consolidate various server hardware on a same openvz solution server.
But each domain use ssl and different certificate.
I've read and I understand why when a visitor try to access www.domain2 using SSL nginx respond using www.domain1 certificate.
This is why the good practice is to use different ip address.
But in my case I can't. 
I use nat to send all the request to my publicip:80 to nginx which will do the filter depending of the servername.

I've read about ssl wild card, but it seems to be a workaround for the same domain.

So how can I do ?
Probably that someone had the same problems, how to solve it.

Thanks for your help 

jul</description><link>http://forum.nginx.org/read.php?11,227831,227831#msg-227831</link><lastBuildDate>Sun, 19 May 2013 21:49:59 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?11,227831,228816#msg-228816</guid>
<title>Re: Nginx as reverse proxy to various domain with different cert</title><link>http://forum.nginx.org/read.php?11,227831,228816#msg-228816</link><description><![CDATA[I have posted a similar but different question here: http://forum.nginx.org/read.php?11,228815]]></description>
<dc:creator>cmundi</dc:creator>
<category>How to...</category><pubDate>Sat, 21 Jul 2012 04:03:28 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?11,227831,228773#msg-228773</guid>
<title>Re: Nginx as reverse proxy to various domain with different cert</title><link>http://forum.nginx.org/read.php?11,227831,228773#msg-228773</link><description><![CDATA[The only way to use nginx with multiple certificates and NOT using multiple IPs is to use SNI Support ...<br /><br />This article describs it very good: http://www.carloscastillo.com.ar/2011/05/multiple-ssl-certificates-on-same-ip.html<br /><br />Problem is that not all browsers support this :-/<br /><br />regrads<br />Jens]]></description>
<dc:creator>jjk77</dc:creator>
<category>How to...</category><pubDate>Fri, 20 Jul 2012 04:24:08 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?11,227831,227831#msg-227831</guid>
<title>Nginx as reverse proxy to various domain with different cert</title><link>http://forum.nginx.org/read.php?11,227831,227831#msg-227831</link><description><![CDATA[Hi,<br /><br />I use nginx as reverse proxy to consolidate various server hardware on a same openvz solution server.<br />But each domain use ssl and different certificate.<br />I've read and I understand why when a visitor try to access www.domain2 using SSL nginx respond using www.domain1 certificate.<br />This is why the good practice is to use different ip address.<br />But in my case I can't.<br />I use nat to send all the request to my publicip:80 to nginx which will do the filter depending of the servername.<br /><br />I've read about ssl wild card, but it seems to be a workaround for the same domain.<br /><br />So how can I do ?<br />Probably that someone had the same problems, how to solve it.<br /><br />Thanks for your help<br /><br />jul]]></description>
<dc:creator>___jul</dc:creator>
<category>How to...</category><pubDate>Sun, 24 Jun 2012 11:54:11 -0400</pubDate></item>
</channel>
</rss>