Add listeningHost fix #179

This commit is contained in:
Mészáros Mihály
2020-04-07 09:10:44 +02:00
parent 1fc173862d
commit d2a6f12aac
2 changed files with 11 additions and 2 deletions
+3
View File
@@ -41,6 +41,9 @@ module.exports =
cert : `${__dirname}/../certs/mediasoup-demo.localhost.cert.pem`,
key : `${__dirname}/../certs/mediasoup-demo.localhost.key.pem`
},
// listening Host or IP
// If ommitted listens on every IP. ("0.0.0.0" and "::")
//listeningHost: 'localhost',
// Listening port for https server.
listeningPort : 443,
// Any http request is redirected to https.