Unable to use multiple IPs with SSL (0.7.64)

Igor Sysoev igor at sysoev.ru
Wed Oct 20 16:34:30 MSD 2010


On Wed, Oct 20, 2010 at 08:32:30AM -0400, danjac wrote:

> > You see certificate for firstdomain.com for all
> > addresse - IP2 and IP3 ?
> 
> I'm not sure I quite understand. Each IP address is set for each domain
> and has its own certificate.

Yes, but currently do you see only certificate of firstdomain.com for
all requests ?

> > And the previous error "Cannot assign requested
> > address" is related to this.
> > 
> > > Igor Sysoev Wrote:
> > >
> > --------------------------------------------------
> > -----
> > > > On Wed, Oct 20, 2010 at 06:22:59AM -0400,
> > danjac
> > > > wrote:
> > > > 
> > > > > The IP is configured for this address, yes.
> > > > 
> > > > Then something wrong in this configuration.
> > > > This is not nginx issue.
> > > > You can workaround it by binding only to *:443
> > and
> > > > letting nginx to learn
> > > > address at run-time:
> > > > 
> > > >     server {
> > > >         listen  *:443;
> > > >         listen  IP1:443;
> > > >     }
> > > > 
> > > >     server {
> > > >         listen  IP2:443;
> > > >     }
> > > > 
> > > >     server {
> > > >         listen  IP3:443;
> > > >     }
> > 
> > 
> > -- 
> > Igor Sysoev
> > http://sysoev.ru/en/
> > 
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,142634,142687#msg-142687
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list