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