New config option to use an external websocket server

This commit is contained in:
yflory
2017-01-27 16:45:41 +01:00
parent 47b437614e
commit 4aacd291b1
2 changed files with 17 additions and 8 deletions

View File

@@ -50,6 +50,12 @@ module.exports = {
*/
//websocketPort: 3000,
/* if you want to run a different version of cryptpad but using the same websocket
* server, you should use the other server port as websocketPort and disable
* the websockets on that server
*/
//useExternalWebsocket: false,
/* If Cryptpad is proxied without using https, the server needs to know.
* Specify 'useSecureWebsockets: true' so that it can send
* Content Security Policy Headers that prevent http and https from mixing