This commit is contained in:
陆柯 2019-11-24 13:04:35 +08:00
parent 8f9794afbf
commit a3f4809870

View File

@ -4,11 +4,11 @@ module.exports={
port: undefined,
from: './dist', // local path to serve as webroot
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
sslType: 'greenlock', // greenlock or file
sslType: '', // '' or greenlock or file
sslDomainList: ['localhost'],
sslKey: undefined, // '/etc/letsencrypt/live/HOST/privkey.pem', // ssl key file,
sslCert: undefined, // '/etc/letsencrypt/live/HOST/fullchain.pem', // ssl cert file,
sslCA: undefined, // '/etc/letsencrypt/live/HOST/bundle.pem', // ssl ca file,
sslKey: undefined, // ssl key file,
sslCert: undefined, // ssl cert file,
sslCA: undefined, // ssl ca file,
deploy: {
type: 'web',
@ -21,7 +21,11 @@ module.exports={
key: `${process.env.HOME}/.ssh/id_rsa`, // 登录用户私钥文件
},
// 如果使用虚拟主机
/*
vhosts: [
{ webroot: 'dist', webindex: 'index.html', domainList: ['']}
],
*/
}