Rename config.js into config.js.example

That will give ability of direct update from git without touching customized config.js file
This commit is contained in:
vitaly
2017-03-18 17:37:29 +03:00
parent eb5c8eef6a
commit 66eefbe40e
3 changed files with 2 additions and 1 deletions

47
config.js.example Normal file
View File

@@ -0,0 +1,47 @@
{
"host": "0.0.0.0",
"port": 7777,
"keyLength": 10,
"maxLength": 400000,
"staticMaxAge": 86400,
"recompressStaticAssets": true,
"logging": [
{
"level": "verbose",
"type": "Console",
"colorize": true
}
],
"keyGenerator": {
"type": "phonetic"
},
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
"storage": {
"type": "redis",
"host": "0.0.0.0",
"port": 6379,
"db": 2,
"expire": 2592000
},
"documents": {
"about": "./about.md"
}
}