if statement + ssl_certificate?
natostanco
nginx-forum at nginx.us
Sat Jun 1 17:32:12 UTC 2013
That does not help because following that example I should use:
server {
listen 443 ssl;
server_name www.sub1.example.com;
ssl_certificate www.sub1.example.com.crt;
...
}
server {
listen 443 ssl;
server_name www.example.org;
ssl_certificate www.example.org.crt;
...
}
But the first server declaration does not apply the different certificate,
instead it applies the certificate of the TLD, so I guess either I can't
declare a server with server_name equal to a subdomain of an already
declared TLD.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239732,239755#msg-239755
More information about the nginx
mailing list