use greenlock-express to automatically generate ssl

This commit is contained in:
luk.lu
2019-05-30 22:30:30 +08:00
parent b423dfdbf4
commit 238d907459
4 changed files with 60 additions and 59 deletions

View File

@@ -1,3 +1,6 @@
module.exports={
}
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
// sslKey: '/etc/letsencrypt/live/test.bittic.net/privkey.pem', // ssl key file,
// sslCert: '/etc/letsencrypt/live/test.bittic.net/fullchain.pem', // ssl cert file,
// sslCA: '/etc/letsencrypt/live/test.bittic.net/bundle.crt', // ssl ca file,
}