Nothing insidious going on but I've got a bunch of domains that we've bought for a service and I don't want to buy an SSL certificate for them all (there's about 11).
As an example, we've got:
example.com
thisisexample.com
ourexample.com
theexample.com
I have an SSL certificate for example.com and it is the main domain we're going to use. To protect our IP we've bought up a lot of similar domains and we're redirecting them all to example.com.
I've setup some redirects already and they're working fine on HTTP/80, both www and non-www.
However, accessing any of the domains on HTTPS/443 shows the privacy error.
Is there any way around this without having to buy lots of certificates? Can I not redirect https for one domain to another and allow that to terminate SSL?
EDIT:
My question is relating to Nginx, not Apache2.