I have several sites running on different (virtual) ubuntu servers, something like this:
- mysite.mydomain.com (10.3.0.5)
- another.mydomain.com (10.3.0.7)
- siteabc.differentdomain.eu (10.3.0.16)
I had paying certificates for all of them, and was using MUP (Meteor-up) to deploy them:
proxy: {
domains: 'mysite.mydomain.com',
ssl: {
crt: './mysite_mydomain_com.crt',
key: './mysite_mydomain_com.key',
forceSSL: true
}
}
Now I want to use Lets Encrypt for all of them. I forwarded port 80 to 10.3.0.5 (the first site), and this works (MUP creates nginx docker containers automatically etc..), but the others don't work because they need port 80 which is already used for the first one.
proxy: {
domains: 'mysite.mydomain.com',
ssl: {
letsEncryptEmail: 'mysite@mydomain.com'
forceSSL: true
}
}
Is it possible to have multiple domains behind the same ip, and still use Lets Encrypt? And how would I do that for Meteor applications and Meteor-up deployments?