aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/integration/prosody/prosody.cfg.lua
blob: 5f18e2adc2258382cdf24e8155f9173cb8a595f1 (plain) (blame)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
daemonize = false
allow_registration = false
use_libevent = true
component_interface = "0.0.0.0"
component_ports = { 5347 }
http_ports = { 5280 }

-- Not sure all modules are required
modules_enabled = {
  "roster"; -- Allow users to have a roster. Recommended ;)
  "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
  "tls"; -- Add support for secure TLS on c2s/s2s connections
  "dialback"; -- s2s dialback support
  "disco"; -- Service discovery
  "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
  "compression"; -- Stream compression (requires the lua-zlib package installed)
  "version"; -- Replies to server version requests
  "uptime"; -- Report how long server has been running
  "time"; -- Let others know the time here on this server
  "ping"; -- Replies to XMPP pings with pongs
  "pep"; -- Enables users to publish their mood, activity, playing music and more
  -- jitsi
  "smacks";
  "carbons";
  "mam";
  "lastactivity";
  "offline";
  "pubsub";
  "adhoc";
  "websocket";
  "http_altconnect";
}

log = {
 "*console";
}

VirtualHost "jitsi"
  authentication = "anonymous"
  ssl = {
    key = "/var/lib/prosody/jitsi.key";
    certificate = "/var/lib/prosody/jitsi.crt";
  }
  modules_enabled = {
    "bosh";
    "pubsub";
  }
  c2s_require_encryption = false

VirtualHost "auth.jitsi"
  ssl = {
    key = "/var/lib/prosody/auth.jitsi.key";
    certificate = "/var/lib/prosody/auth.jitsi.crt";
  }
  authentication = "internal_plain"
  admins = { "focus@auth.jitsi"}

Component "conference.jitsi" "muc"
Component "internal.auth.jitsi" "muc"
  storage = "memory"
  modules_enabled = { "ping"; }
  admins = { "focus@auth.jitsi", "jvb@auth.jitsi" }