1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-24 21:41:21 +00:00
haste-server/config.js

48 lines
599 B
JavaScript
Raw Normal View History

{
2012-09-27 16:03:52 +00:00
"host": "0.0.0.0",
2011-11-18 21:57:23 +00:00
"port": 7777,
2011-11-28 18:17:13 +00:00
"keyLength": 10,
2011-11-18 22:26:25 +00:00
2011-11-21 15:17:23 +00:00
"maxLength": 400000,
2011-11-23 18:14:18 +00:00
"staticMaxAge": 86400,
2011-11-22 04:00:28 +00:00
2011-11-27 20:49:17 +00:00
"recompressStaticAssets": true,
2011-11-18 22:26:25 +00:00
"logging": [
{
"level": "verbose",
"type": "Console",
"colorize": true
}
2011-11-18 23:04:24 +00:00
],
"keyGenerator": {
"type": "phonetic"
},
2016-03-06 21:20:40 +00:00
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
2011-11-18 23:04:24 +00:00
"storage": {
2011-11-19 00:52:18 +00:00
"type": "redis",
2012-09-27 16:03:52 +00:00
"host": "0.0.0.0",
2011-11-19 00:52:18 +00:00
"port": 6379,
2011-11-22 03:03:50 +00:00
"db": 2,
2011-11-28 15:37:39 +00:00
"expire": 2592000
2011-11-22 14:22:37 +00:00
},
"documents": {
"about": "./about.md"
2011-11-18 23:04:24 +00:00
}
}