Multiple SSL certificates
Igor Sysoev
is at rambler-co.ru
Tue Oct 21 18:55:07 MSD 2008
On Tue, Oct 21, 2008 at 04:39:04PM +0200, Thomas wrote:
> My website is: http://www.digiprof.fr, if you click the "connexion"
> button at the top right corner, you will be redirected to a
> registration page which uses SSL.
>
> I have a mail server administration application reachable at
> http://www.digiprof.eu, you will get redirected to https and you
> should see the certificate warning with www.digiprof.fr
>
> I tried to setup Nginx in the same manner as this page:
> http://wiki.apache.org/httpd/NameBasedSSLVHosts
>
> But when I specify an IP address in listen, it doesn't work.
You should use
server {
listen www.digiprof.fr:443;
ssl on;
ssl_certificate /path/to/www.digiprof.fr.cert;
ssl_certificate_key /path/to/www.digiprof.fr.key;
...
}
server {
listen www.digiprof.eu:443;
ssl on;
ssl_certificate /path/to/www.digiprof.eu.cert;
ssl_certificate_key /path/to/www.digiprof.eu.key;
...
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list