Wildcard SSL and Wildcard hostnames
nginx-forum at nginx.us
Mon May 11 11:11:34 UTC 2015
Hey there, I'm struggling to find the correct answer and unsure if there
even is one.
We have a domain say, example.co and we've purchased a wildcard SSL
certificate for it. We want to be able to provide what amounts to....with
all pointing at the same server so something like
server_name example.co *.example.co;
This doesn't appear to work as I would expect it to. Would we need to set up
a different server for each subdomain explicity. or could we get away with
one config for example.co and another for *.example.co? I've seen examples
of using the same ssl key for different virtual servers with different
hostnames but not pointing to the same one.
Anyone else have any joy with a similar config?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258792,258792#msg-258792
More information about the nginx