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

@@ -2,10 +2,6 @@ module.exports={
protocol:'http',
host:'localhost',
port:undefined,
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
// sslKey: '/etc/letsencrypt/live/bittic.org/privkey.pem', // ssl key file,
// sslCert: '/etc/letsencrypt/live/bittic.org/cert.pem', // ssl cert file,
// sslCA: '../SSL/ca_bundle.crt', // ssl ca file,
deploy:{
host:'', // 待部署到的主机