Allow custom SSL port
This commit is contained in:
parent
24a2991292
commit
86e6bcee61
|
@ -181,8 +181,8 @@ Server.prototype.start = function () {
|
|||
console.log('Started server on port ' + (process.env.PORT || settings.port));
|
||||
});
|
||||
if (this.https) {
|
||||
this.https.listen(443, () => {
|
||||
console.log('Started SSL server on port 443');
|
||||
this.https.listen(settings.sslPort, () => {
|
||||
console.log('Started SSL server on port ' + settings.sslPort);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"allowedFormats": [".epub", ".mobi", ".pdf"],
|
||||
"toolsPassword": "password",
|
||||
"hideVisitors": false,
|
||||
"sslPort": 443,
|
||||
"sslPrivateKey": null,
|
||||
"sslCertificate": null,
|
||||
"sslCertificateAuthority": null,
|
||||
|
|
Loading…
Reference in New Issue