add sslType

This commit is contained in:
luk.lu
2019-07-01 22:53:51 +08:00
parent 71215e236f
commit 77d40aeb42
2 changed files with 9 additions and 2 deletions

View File

@@ -2,6 +2,13 @@ module.exports = {
protocol: 'http',
host: 'localhost',
port: undefined,
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
sslType: 'file', // file|greenlock
sslDomainList: [],
sslKey: 'ssl/privkey.pem', // ssl key file,
sslCert: 'ssl/fullchain.pem', // ssl cert file,
sslCA: 'ssl/client-cert.pem', // ssl ca file,
deploy: {
host: '', // 待部署到的主机