allow both 'file' and 'greenlock' when protocol=='httpall'

This commit is contained in:
luk.lu
2019-06-02 13:13:44 +08:00
parent 238d907459
commit acea47725d
3 changed files with 49 additions and 27 deletions

View File

@@ -1,5 +1,7 @@
module.exports={
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
// sslType: 'greenlock',
// sslDomainList: [''],
// sslKey: '/etc/letsencrypt/live/test.bittic.net/privkey.pem', // ssl key file,
// sslCert: '/etc/letsencrypt/live/test.bittic.net/fullchain.pem', // ssl cert file,
// sslCA: '/etc/letsencrypt/live/test.bittic.net/bundle.crt', // ssl ca file,