mirror of
https://github.com/mclueppers/xo-server.git
synced 2025-07-15 10:04:45 +02:00
Minor updates.
This commit is contained in:
parent
c8a47d7b99
commit
c22f642418
@ -18,6 +18,10 @@ http:
|
|||||||
#port: 8080
|
#port: 8080
|
||||||
|
|
||||||
# Configuration of XO-Server's HTTPS server.
|
# Configuration of XO-Server's HTTPS server.
|
||||||
|
#
|
||||||
|
# A certificate is required, see http://www.selfsignedcertificate.com/
|
||||||
|
# or https://devcenter.heroku.com/articles/ssl-certificate-self to
|
||||||
|
# easily create a (unsecure) self-signed certificate.
|
||||||
https:
|
https:
|
||||||
# Is HTTPS enabled?
|
# Is HTTPS enabled?
|
||||||
#
|
#
|
||||||
@ -37,13 +41,17 @@ https:
|
|||||||
#port: 8081
|
#port: 8081
|
||||||
|
|
||||||
# File containing the certificate (PEM format).
|
# File containing the certificate (PEM format).
|
||||||
#certificate: './certificate.pem'
|
#
|
||||||
|
# Default: './certificate.pem'
|
||||||
|
#certificate: '/path/to/the/certificate.pem'
|
||||||
|
|
||||||
# File containing the private key (PEM format).
|
# File containing the private key (PEM format).
|
||||||
#
|
#
|
||||||
# If the key is encrypted, the passphrase will be asked at server
|
# If the key is encrypted, the passphrase will be asked at server
|
||||||
# startup.
|
# startup.
|
||||||
#key: './key.pem'
|
#
|
||||||
|
# Default: './key.pem'
|
||||||
|
#key: '/path/to/the/key.pem'
|
||||||
|
|
||||||
# Configuration of the Redis server.
|
# Configuration of the Redis server.
|
||||||
redis:
|
redis:
|
||||||
|
@ -400,8 +400,7 @@ read_file(__dirname +'/../config/local.yaml').then(
|
|||||||
require('https').createServer({
|
require('https').createServer({
|
||||||
'cert': certificate,
|
'cert': certificate,
|
||||||
'key': key,
|
'key': key,
|
||||||
}).listen(port, host)
|
}).listen(port, host).on('listening', function () {
|
||||||
.on('listening', function () {
|
|
||||||
console.info(
|
console.info(
|
||||||
'XO-Server HTTPS server is listening on %s:%s',
|
'XO-Server HTTPS server is listening on %s:%s',
|
||||||
host, port
|
host, port
|
||||||
|
Loading…
x
Reference in New Issue
Block a user