parent
0d8aec8d61
commit
b31d143bcd
1 changed files with 45 additions and 34 deletions
@ -1,36 +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" |
||||
} |
||||
|
||||
"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" |
||||
} |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue