Как мне переключить провайдеров SSL в MUP
Чтобы использовать Letsencrypt SSL в MUP, я просто использую добавить прокси в файле конфигурации:
proxy: {
domains: 'mydomain.com,www.mudomain.com',
ssl: {
// Enable let's encrypt to create free certificates.
// The email is used by Let's Encrypt to notify you when the
// certificates are close to expiring.
letsEncryptEmail: 'user@candidsky.com'
// forceSSL: true
}
},
Документация здесь
http://meteor-up.com/docs.html
Но я не могу найти ничего о том, как использовать пользовательский SSL, мне нужно использовать Comodo SSL.
1 ответ
Вот способ сделать это
app: {
...
ssl: {
crt: './bundle.crt', // this is a bundle of certificates
key: './private.key', // this is the private key of the certificate
port: 443 // 443 is the default value and it's the standard HTTPS port
}
...
}
Обратите внимание, что вы также можете установить ключ pem в поле ключа. http://meteor-up.com/docs.html