From a3f480987028672966c921a933d328dc52ae3aa8 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Sun, 24 Nov 2019 13:04:35 +0800 Subject: [PATCH] u --- ConfigBasic.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ConfigBasic.js b/ConfigBasic.js index 8c4febf..7646b78 100644 --- a/ConfigBasic.js +++ b/ConfigBasic.js @@ -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: ['']} ], +*/ + } \ No newline at end of file