diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | app.js | 1 | ||||
-rw-r--r-- | config.js | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -105,6 +105,7 @@ Server-side config.js settings | sslkeypath | `./cert/client.key` | ssl key path | | sslcertpath | `./cert/hackmd_io.crt` | ssl cert path | | sslcapath | `['./cert/COMODORSAAddTrustCA.crt']` | ssl ca chain | +| dhparampath | `./cert/dhparam.pem` | ssl dhparam path | | tmppath | `./tmp/` | temp file path | | postgresqlstring | `postgresql://user:pass@host:port/hackmd` | PostgreSQL connection string, fallback to this when not set in environment | | mongodbstring | `mongodb://user:pass@host:port/hackmd` | MongoDB connection string, fallback to this when not set in environment | @@ -40,6 +40,7 @@ if (config.usessl) { key: fs.readFileSync(config.sslkeypath, 'utf8'), cert: fs.readFileSync(config.sslcertpath, 'utf8'), ca: ca, + dhparam: fs.readFileSync(config.dhparampath, 'utf8'), requestCert: false, rejectUnauthorized: false }; @@ -24,6 +24,7 @@ var config = { sslkeypath: 'change this', sslcertpath: 'change this', sslcapath: ['change this'], + dhparampath: 'change this', usessl: usessl, getserverurl: function() { var url = domain; |