1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 14:31:42 -05:00
shimapan/config/default.json

56 lines
891 B
JSON

{
"Server": {
"port": 4433,
"hostname": "https://shimapan.rocks",
"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
}
},
"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
}
}
}