13 lines
453 B
JavaScript
13 lines
453 B
JavaScript
/* CryptPad config — http on 3000, websockets on 3003 (must differ).
|
|
* Live: mount ./config.js over /cryptpad/config/config.js
|
|
* Edge nginx in compose merges both onto host :9030 (Caddy unchanged).
|
|
*/
|
|
module.exports = {
|
|
httpUnsafeOrigin: 'https://cryptpad.hacktivism.ch',
|
|
httpSafeOrigin: 'https://cryptpad.hacktivism.ch',
|
|
httpAddress: '0.0.0.0',
|
|
httpPort: 3000,
|
|
websocketPort: 3003,
|
|
logToStdout: true,
|
|
maxWorkers: 2,
|
|
};
|