cert handling on redirect of https subdomains

Reinis Rozitis r at roze.lv
Fri Sep 12 13:35:29 MSD 2008

> Interesting.  The reason for the limitation makes more sense now.  But why 
> do the first *two* virtual domains (example.com and www.example.com) work?

Usually the signed SSL cert contains both domains (Common Name) eg the short 
example.com and the long www.example.com (at least GoDaddy always adds both 
even you dont specify that).
So basically you get a simple wilcard certificate...( to look up what Common 
Names you have 'openssl x509 -in filename.crt -noout -text' )


More information about the nginx mailing list