Unable to use multiple IPs with SSL (0.7.64)
danjac
nginx-forum at nginx.us
Wed Oct 20 15:15:05 MSD 2010
This solution works (i.e. I can restart nginx) but it doesn't recognize
the correct domain - certificate for firstdomain.com is correct, but
when I go to the seconddomain.com I get the SSL error "this site was
configured for firstdomain.com" in my browser.
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,142659#msg-142659
More information about the nginx
mailing list