2011-11-19 05:54:16 +08:00
|
|
|
{
|
|
|
|
|
2012-09-28 00:03:52 +08:00
|
|
|
"host": "0.0.0.0",
|
2011-11-19 05:57:23 +08:00
|
|
|
"port": 7777,
|
|
|
|
|
2011-11-29 02:17:13 +08:00
|
|
|
"keyLength": 10,
|
2011-11-19 06:26:25 +08:00
|
|
|
|
2011-11-21 23:17:23 +08:00
|
|
|
"maxLength": 400000,
|
|
|
|
|
2011-11-24 02:14:18 +08:00
|
|
|
"staticMaxAge": 86400,
|
2011-11-22 12:00:28 +08:00
|
|
|
|
2011-11-28 04:49:17 +08:00
|
|
|
"recompressStaticAssets": true,
|
|
|
|
|
2011-11-19 06:26:25 +08:00
|
|
|
"logging": [
|
|
|
|
{
|
|
|
|
"level": "verbose",
|
|
|
|
"type": "Console",
|
|
|
|
"colorize": true
|
|
|
|
}
|
2011-11-19 07:04:24 +08:00
|
|
|
],
|
|
|
|
|
2012-01-08 00:35:11 +08:00
|
|
|
"keyGenerator": {
|
|
|
|
"type": "phonetic"
|
|
|
|
},
|
|
|
|
|
2016-03-07 05:20:40 +08:00
|
|
|
"rateLimits": {
|
|
|
|
"categories": {
|
|
|
|
"normal": {
|
|
|
|
"totalRequests": 500,
|
|
|
|
"every": 60000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2011-11-19 07:04:24 +08:00
|
|
|
"storage": {
|
2018-02-16 22:52:44 +08:00
|
|
|
"type": "memcached",
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
"port": 11211,
|
2011-11-28 23:37:39 +08:00
|
|
|
"expire": 2592000
|
2011-11-22 22:22:37 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
"documents": {
|
|
|
|
"about": "./about.md"
|
2011-11-19 07:04:24 +08:00
|
|
|
}
|
2011-11-19 05:54:16 +08:00
|
|
|
|
|
|
|
}
|