mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-14 08:49:51 -05:00
56 lines
889 B
JSON
56 lines
889 B
JSON
{
|
|
"Server": {
|
|
"port": 4433,
|
|
"hostname": "https://shrimpa.rocks",
|
|
"tls": true,
|
|
"trustProxy": []
|
|
},
|
|
"Database": {
|
|
"host": "mongodb://localhost:27017/shrimpa"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"Key": {
|
|
"limit": 5
|
|
},
|
|
"Log": {
|
|
"http": true,
|
|
"httpLevel": "combined"
|
|
},
|
|
"RateLimit": {
|
|
"enable": true,
|
|
"login": {
|
|
"window": 600,
|
|
"max": 10
|
|
},
|
|
"register": {
|
|
"window": 600,
|
|
"max": 10
|
|
},
|
|
"api": {
|
|
"window": 600,
|
|
"max": 10
|
|
}
|
|
}
|
|
}
|