forked from mehulsbhatt/xmppserver
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfileserver.conf
50 lines (45 loc) · 1.06 KB
/
fileserver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
// GPG server fingerprint
"fingerprint": "37D0E678CDD19FB9B182B3804C9539B401F8229C",
// network name
"network": "kontalk.net",
// host name
"host": "prime.kontalk.net",
"log.levels": [ "ALL" ],
// enable dump of all XML stanzas
"debug": true,
// for client connections
"bind": [
"localhost",
5280
],
"ssl_key": "server.key",
"ssl_cert": "server.crt",
// database connection
"database": {
"host": "localhost",
"port": 3306,
"user": "root",
"password": "ciao",
"dbname": "xmppmessenger",
"dbmodule": "oursql"
},
// file storage
"storage": {
"class": "DiskFileStorage",
"params": ["/tmp/kontalk"]
},
// upload parameters
"upload": {
"accept_content": [
"text/plain",
"text/x-vcard",
"text/vcard",
"image/gif",
"image/png",
"image/jpeg"
],
"max_size": 10485760,
"url": "http://10.0.2.2:5280/download?f=%s"
}
}