Tidy, add privkey password
parent
27e6cd8d64
commit
136a41a7e9
|
|
@ -60,9 +60,11 @@ module.exports =
|
||||||
// session cookie secret
|
// session cookie secret
|
||||||
cookieSecret : 'T0P-S3cR3t_cook!e',
|
cookieSecret : 'T0P-S3cR3t_cook!e',
|
||||||
cookieName : 'multiparty-meeting.sid',
|
cookieName : 'multiparty-meeting.sid',
|
||||||
|
// if you use encrypted private key the set the passphrase
|
||||||
tls :
|
tls :
|
||||||
{
|
{
|
||||||
cert : `${__dirname}/../certs/mediasoup-demo.localhost.cert.pem`,
|
cert : `${__dirname}/../certs/mediasoup-demo.localhost.cert.pem`,
|
||||||
|
// passphrase: 'key_password'
|
||||||
key : `${__dirname}/../certs/mediasoup-demo.localhost.key.pem`
|
key : `${__dirname}/../certs/mediasoup-demo.localhost.key.pem`
|
||||||
},
|
},
|
||||||
// listening Host or IP
|
// listening Host or IP
|
||||||
|
|
@ -77,6 +79,12 @@ module.exports =
|
||||||
// listeningRedirectPort disabled
|
// listeningRedirectPort disabled
|
||||||
// use case: loadbalancer backend
|
// use case: loadbalancer backend
|
||||||
httpOnly : false,
|
httpOnly : false,
|
||||||
|
// WebServer/Express trust proxy config for httpOnly mode
|
||||||
|
// You can find more info:
|
||||||
|
// - https://expressjs.com/en/guide/behind-proxies.html
|
||||||
|
// - https://www.npmjs.com/package/proxy-addr
|
||||||
|
// use case: loadbalancer backend
|
||||||
|
trustProxy : '',
|
||||||
// This logger class will have the log function
|
// This logger class will have the log function
|
||||||
// called every time there is a room created or destroyed,
|
// called every time there is a room created or destroyed,
|
||||||
// or peer created or destroyed. This would then be able
|
// or peer created or destroyed. This would then be able
|
||||||
|
|
@ -109,12 +117,6 @@ module.exports =
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, */
|
}, */
|
||||||
// WebServer/Express trust proxy config for httpOnly mode
|
|
||||||
// You can find more info:
|
|
||||||
// - https://expressjs.com/en/guide/behind-proxies.html
|
|
||||||
// - https://www.npmjs.com/package/proxy-addr
|
|
||||||
// use case: loadbalancer backend
|
|
||||||
trustProxy : '',
|
|
||||||
// This function will be called on successful login through oidc.
|
// This function will be called on successful login through oidc.
|
||||||
// Use this function to map your oidc userinfo to the Peer object.
|
// Use this function to map your oidc userinfo to the Peer object.
|
||||||
// The roomId is equal to the room name.
|
// The roomId is equal to the room name.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue