rename Config*.js to envar-base-*.js
This commit is contained in:
17
envar-base-basic.js
Normal file
17
envar-base-basic.js
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports={
|
||||
protocol: 'http',
|
||||
host: 'localhost',
|
||||
port: undefined,
|
||||
|
||||
production: {
|
||||
protocol: 'httpall',
|
||||
host: 'vic-user.bittic.org',
|
||||
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
|
||||
sslType: 'file', // greenlock or file
|
||||
sslDomainList: ['vic-user.bittic.org'],
|
||||
sslKey: '/etc/letsencrypt/live/vic-server.bittic.org/privkey.pem', // ssl key file,
|
||||
sslCert: '/etc/letsencrypt/live/vic-server.bittic.org/fullchain.pem', // ssl cert file,
|
||||
sslCA: '/etc/letsencrypt/live/vic-server.bittic.org/bundle.pem', // ssl ca file,
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user