1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-01 01:30:21 +01:00
haste-server/config.js

47 lines
593 B
JavaScript
Raw Normal View History

{
2012-09-27 18:03:52 +02:00
"host": "0.0.0.0",
2011-11-18 22:57:23 +01:00
"port": 7777,
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": {
"type": "memcached",
"host": "127.0.0.1",
"port": 11211,
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
}
}