1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-28 05:26:44 -05:00
shimapan/config/default.json

56 lines
891 B
JSON
Raw Normal View History

2017-10-12 17:26:35 -04:00
{
"Server": {
2018-12-26 13:16:30 -05:00
"port": 4433,
2018-12-26 13:30:02 -05:00
"hostname": "https://shimapan.rocks",
2018-12-26 19:02:59 -05:00
"tls": true,
"trustProxy": []
},
"Database": {
"host": "mongodb://localhost:27017/shimapan"
},
"Upload": {
"path": "uploads",
"maxSize": 134217728,
"charset": "abcdefghijklmnopqrstuvwxyz",
"idLength": 6
},
"View": {
"inlineMimeTypes": [
"image/*",
"text/plain"
]
},
"User": {
"Username": {
"maxLength": 36,
"restrictedChars": "\\s"
},
"Password": {
"saltLength": 64,
"hashIterations": 25000
}
},
2018-08-01 18:57:45 -04:00
"Key": {
"limit": 5
},
"Log": {
2018-08-13 06:43:31 -04:00
"http": true,
"httpLevel": "combined"
2018-12-26 20:47:04 -05:00
},
"RateLimit": {
"enable": true,
"login": {
"window": 600,
2018-12-26 21:01:15 -05:00
"max": 10
2018-12-26 20:47:04 -05:00
},
"register": {
"window": 600,
2018-12-26 21:01:15 -05:00
"max": 10
2018-12-26 20:47:04 -05:00
},
"api": {
"window": 600,
"max": 10
}
}
2017-10-12 17:26:35 -04:00
}