haste-server/config.js

55 lines
812 B
JavaScript
Raw Normal View History

{
2017-03-03 01:31:08 +01:00
"http": true,
"http_host": "0.0.0.0",
"http_port": 7777,
"http_redirect_to_https": false,
2017-03-03 01:31:08 +01:00
"https": false,
"https_host": "0.0.0.0",
"https_port": 7778,
"https_cert": "/opt/certs/fullchain.pem",
"https_key": "/opt/certs/privkey.pem",
2011-11-18 22:57:23 +01:00
2011-11-28 19:17:13 +01:00
"keyLength": 10,
2011-11-18 23:26:25 +01:00
2011-11-21 16:17:23 +01:00
"maxLength": 400000,
2011-11-23 19:14:18 +01:00
"staticMaxAge": 86400,
2011-11-22 05:00:28 +01:00
2011-11-27 21:49:17 +01:00
"recompressStaticAssets": true,
2011-11-18 23:26:25 +01:00
"logging": [
{
"level": "verbose",
"type": "Console",
"colorize": true
}
2011-11-19 00:04:24 +01:00
],
"keyGenerator": {
"type": "phonetic"
},
2016-03-06 22:20:40 +01:00
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
2011-11-19 00:04:24 +01:00
"storage": {
2011-11-19 01:52:18 +01:00
"type": "redis",
2012-09-27 18:03:52 +02:00
"host": "0.0.0.0",
2011-11-19 01:52:18 +01:00
"port": 6379,
2011-11-22 04:03:50 +01:00
"db": 2,
2011-11-28 16:37:39 +01:00
"expire": 2592000
2011-11-22 15:22:37 +01:00
},
"documents": {
"about": "./about.md"
2011-11-19 00:04:24 +01:00
}
}