Browse Source

chore(doc) delete old sample config files

The Debian package's config files are the canonical example.
master
Saúl Ibarra Corretgé 3 years ago
parent
commit
749f93ce1a

+ 0
- 8
doc/example-config-files/config.js.example View File

@@ -1,8 +0,0 @@
1
-var config = {
2
-    hosts: {
3
-        domain: 'jitsi.example.com',
4
-        muc: 'conference.jitsi.example.com', // FIXME: use XEP-0030
5
-        bridge: 'jitsi-videobridge.jitsi.example.com' // FIXME: use XEP-0030
6
-    },
7
-    bosh: '//jitsi.example.com/http-bind' // FIXME: use xep-0156 for that
8
-};

+ 0
- 39
doc/example-config-files/jitsi.example.com.example View File

@@ -1,39 +0,0 @@
1
-server {
2
-    listen 80;
3
-
4
-    server_name jitsi.example.com;
5
-    # set the root
6
-    root /srv/jitsi.example.com;
7
-    index index.html;
8
-
9
-    location ~ ^/([a-zA-Z0-9=\?]+)$ {
10
-        rewrite ^/(.*)$ / break;
11
-        }
12
-
13
-    location / {
14
-        ssi on;
15
-    }
16
-
17
-    gzip on;
18
-    gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
19
-    gzip_vary on;
20
-    gzip_proxied no-cache no-store private expired auth;
21
-    gzip_min_length 512;
22
-
23
-    # BOSH
24
-    location /http-bind {
25
-        proxy_pass      http://localhost:5280/http-bind;
26
-        proxy_set_header X-Forwarded-For $remote_addr;
27
-        proxy_set_header Host $http_host;
28
-    }
29
-
30
-    # xmpp websockets
31
-    location /xmpp-websocket {
32
-        proxy_pass http://localhost:5280/xmpp-websocket;
33
-        proxy_http_version 1.1;
34
-        proxy_set_header Upgrade $http_upgrade;
35
-        proxy_set_header Connection "upgrade";
36
-        proxy_set_header Host $host;
37
-        tcp_nodelay on;
38
-    }
39
-}

+ 0
- 14
doc/example-config-files/multidomain/config.js.multidomain.example View File

@@ -1,14 +0,0 @@
1
-var subdomain = "<!--# echo var="subdomain" default="" -->";
2
-if (subdomain) {
3
-    subdomain = subdomain.substr(0,subdomain.length-1).split('.').join('_').toLowerCase() + '.';
4
-}
5
-
6
-var config = {
7
-    hosts: {
8
-        domain: 'jitsi.example.com',
9
-        muc: 'conference.'+subdomain+'jitsi.example.com', // FIXME: use XEP-0030
10
-        focus: 'focus.jitsi.example.com',
11
-    },
12
-    bosh: '//jitsi.example.com/http-bind', // FIXME: use xep-0156 for that
13
-    websocket: 'wss://jitsi.example.com/xmpp-websocket'
14
-};

+ 0
- 76
doc/example-config-files/multidomain/jitsi.example.com.multidomain.example View File

@@ -1,76 +0,0 @@
1
-server {
2
-    listen 80;
3
-
4
-    server_name jitsi.example.com;
5
-    # set the root
6
-    root /srv/jitsi.example.com;
7
-    # ssi on with javascript for multidomain variables in config.js
8
-    ssi on;
9
-    ssi_types application/x-javascript application/javascript;
10
-    index index.html;
11
-    set $prefix "";
12
-
13
-    # BOSH
14
-    location /http-bind {
15
-        proxy_pass      http://localhost:5280/http-bind;
16
-        proxy_set_header X-Forwarded-For $remote_addr;
17
-        proxy_set_header Host $http_host;
18
-    }
19
-
20
-    # xmpp websockets
21
-    location /xmpp-websocket {
22
-        proxy_pass http://localhost:5280/xmpp-websocket;
23
-        proxy_http_version 1.1;
24
-        proxy_set_header Upgrade $http_upgrade;
25
-        proxy_set_header Connection "upgrade";
26
-        proxy_set_header Host $host;
27
-        tcp_nodelay on;
28
-    }
29
-
30
-    gzip on;
31
-    gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
32
-    gzip_vary on;
33
-    gzip_proxied no-cache no-store private expired auth;
34
-    gzip_min_length 512;
35
-
36
-    location ~ ^/([^/?&:'"]+)$ {
37
-        try_files $uri @root_path;
38
-    }
39
-
40
-    location @root_path {
41
-        rewrite ^/(.*)$ / break;
42
-    }
43
-
44
-    location ~ ^/([^/?&:'"]+)/config.js$
45
-    {
46
-        set $subdomain "$1.";
47
-        set $subdir "$1/";
48
-
49
-        alias /etc/jitsi/meet/{{jitsi_meet_domain_name}}-config.js;
50
-    }
51
-
52
-    # Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to /
53
-    location ~ ^/([^/?&:'"]+)/(.*)$ {
54
-        set $subdomain "$1.";
55
-        set $subdir "$1/";
56
-        rewrite ^/([^/?&:'"]+)/(.*)$ /$2;
57
-    }
58
-
59
-    # BOSH for subdomains
60
-    location ~ ^/([^/?&:'"]+)/http-bind {
61
-        set $subdomain "$1.";
62
-        set $subdir "$1/";
63
-        set $prefix "$1";
64
-
65
-        rewrite ^/(.*)$ /http-bind;
66
-    }
67
-
68
-    # websockets for subdomains
69
-    location ~ ^/([^/?&:'"]+)/xmpp-websocket {
70
-        set $subdomain "$1.";
71
-        set $subdir "$1/";
72
-        set $prefix "$1";
73
-
74
-        rewrite ^/(.*)$ /xmpp-websocket;
75
-    }
76
-}

+ 0
- 156
doc/example-config-files/multidomain/prosody.cfg.multidomain.example View File

@@ -1,218 +0,0 @@
1
---
2
---
3
---
4
-
5
-
6
----------- Server-wide settings ----------
7
-
8
-admins = { }
9
-daemonize = true
10
-cross_domain_bosh = true;
11
-component_ports = { 5347 }
12
---component_interface = "192.168.0.10"
13
-
14
---use_libevent = true
15
-
16
-modules_enabled = {
17
-
18
-    -- Generally required
19
-    "roster"; -- Allow users to have a roster. Recommended ;)
20
-    "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
21
-    "tls"; -- Add support for secure TLS on c2s/s2s connections
22
-    "dialback"; -- s2s dialback support
23
-    "disco"; -- Service discovery
24
-    "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
25
-
26
-    -- Not essential, but recommended
27
-    "private"; -- Private XML storage (for room bookmarks, etc.)
28
-    "vcard"; -- Allow users to set vCards
29
-
30
-    -- These are commented by default as they have a performance impact
31
-    --"privacy"; -- Support privacy lists
32
-    "compression"; -- Stream compression (requires the lua-zlib package installed)
33
-
34
-    -- Nice to have
35
-    "version"; -- Replies to server version requests
36
-    "uptime"; -- Report how long server has been running
37
-    "time"; -- Let others know the time here on this server
38
-    "ping"; -- Replies to XMPP pings with pongs
39
-    "pep"; -- Enables users to publish their mood, activity, playing music and more
40
-    "register"; -- Allow users to register on this server using a client and change passwords
41
-
42
-    -- Admin interfaces
43
-    "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
44
-    --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
45
-
46
-    -- HTTP modules
47
-    "bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
48
-    --"http_files"; -- Serve static files from a directory over HTTP
49
-
50
-    -- Other specific functionality
51
-    --"groups"; -- Shared roster support
52
-    --"announce"; -- Send announcement to all online users
53
-    --"welcome"; -- Welcome users who register accounts
54
-    --"watchregistrations"; -- Alert admins of registrations
55
-    --"motd"; -- Send a message to users when they log in
56
-    --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
57
-
58
-    -- jitsi
59
-    "smacks";
60
-    "carbons";
61
-    "mam";
62
-    "lastactivity";
63
-    "offline";
64
-    "pubsub";
65
-    "adhoc";
66
-    "websocket";
67
-    "http_altconnect";
68
-}
69
-
70
-muc_mapper_domain_base = "jitsi.example.com";
71
-
72
-modules_disabled = {
73
-    --"offline"; -- Store offline messages
74
-    --"c2s"; -- Handle client connections
75
-    --"s2s"; -- Handle server-to-server connections
76
-}
77
-
78
-allow_registration = false
79
-
80
-ssl = {
81
-    key = "/etc/prosody/certs/localhost.key";
82
-    certificate = "/etc/prosody/certs/localhost.crt";
83
-}
84
-
85
-
86
---c2s_require_encryption = true
87
-
88
-
89
---s2s_secure_auth = false
90
-
91
-
92
---s2s_insecure_domains = { "gmail.com" }
93
-
94
-
95
---s2s_secure_domains = { "jabber.org" }
96
-
97
-pidfile = "/var/run/prosody/prosody.pid"
98
-
99
-
100
-authentication = "internal_hashed"
101
-
102
-
103
---storage = "sql" -- Default is "internal"
104
-
105
---sql = { driver = "SQLite3", database = "prosody.sqlite" } -- Default. 'database' is the filename.
106
---sql = { driver = "MySQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
107
---sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
108
-
109
-log = {
110
-    info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
111
-    error = "/var/log/prosody/prosody.err";
112
-    "*syslog";
113
-}
114
-
115
------------ Virtual hosts -----------
116
-
117
---VirtualHost "localhost"
118
-
119
-VirtualHost "jitsi.example.com"
120
-    -- enabled = false -- Remove this line to enable this host
121
-    authentication = "anonymous"
122
-    -- Assign this host a certificate for TLS, otherwise it would use the one
123
-    -- set in the global section (if any).
124
-    -- Note that old-style SSL on port 5223 only supports one certificate, and will always
125
-    -- use the global one.
126
-    ssl = {
127
-        key = "/var/lib/prosody/jitsi.example.com.key";
128
-        certificate = "/var/lib/prosody/jitsi.example.com.crt";
129
-    }
130
-
131
-    c2s_require_encryption = false
132
-
133
-VirtualHost "auth.jitsi.example.com"
134
-    ssl = {
135
-        key = "/var/lib/prosody/auth.jitsi.example.com.key";
136
-        certificate = "/var/lib/prosody/auth.jitsi.example.com.crt";
137
-    }
138
-    authentication = "internal_hashed"
139
-
140
------- Components ------
141
-
142
----Set up a MUC (multi-user chat) room server on conference.example.com:
143
---Component "conference.example.com" "muc"
144
-
145
---Component "proxy.example.com" "proxy65"
146
-
147
----Set up an external component (default component port is 5347)
148
---
149
---
150
---Component "gateway.example.com"
151
-
152
-Component "conference.jitsi.example.com" "muc"
153
-    modules_enabled = { "muc_domain_mapper" }
154
-
155
-Component "jitsi-videobridge.jitsi.example.com"
156
-    component_secret = "IfGaish6"

+ 0
- 54
doc/example-config-files/nginx.conf.example View File

@@ -1,54 +0,0 @@
1
-user www-data;
2
-worker_processes  1;
3
-
4
-error_log  /var/log/nginx/error.log;
5
-pid        /var/run/nginx.pid;
6
-
7
-events {
8
-    worker_connections  1024;
9
-    # multi_accept on;
10
-}
11
-
12
-http {
13
-    include       /etc/nginx/mime.types;
14
-
15
-    access_log	/var/log/nginx/access.log;
16
-
17
-    sendfile        on;
18
-    #tcp_nopush     on;
19
-
20
-    #keepalive_timeout  0;
21
-    keepalive_timeout  65;
22
-    tcp_nodelay        on;
23
-
24
-    tcp_nopush on;
25
-    types_hash_max_size 2048;
26
-    server_names_hash_bucket_size 64;
27
-
28
-    gzip  on;
29
-    gzip_disable "MSIE [1-6]\.(?!.*SV1)";
30
-
31
-    include /etc/nginx/conf.d/*.conf;
32
-    include /etc/nginx/sites-enabled/*;
33
-}
34
-
35
-# mail {
36
-#     # See sample authentication script at:
37
-#     # http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript
38
-# 
39
-#     # auth_http localhost/auth.php;
40
-#     # pop3_capabilities "TOP" "USER";
41
-#     # imap_capabilities "IMAP4rev1" "UIDPLUS";
42
-# 
43
-#     server {
44
-#         listen     localhost:110;
45
-#         protocol   pop3;
46
-#         proxy      on;
47
-#     }
48
-# 
49
-#     server {
50
-#         listen     localhost:143;
51
-#         protocol   imap;
52
-#         proxy      on;
53
-#     }
54
-# }

+ 0
- 153
doc/example-config-files/prosody.cfg.lua.example View File

@@ -1,214 +0,0 @@
1
---
2
---
3
---
4
-
5
-
6
----------- Server-wide settings ----------
7
-
8
-admins = { }
9
-daemonize = true
10
-cross_domain_bosh = true;
11
-component_ports = { 5347 }
12
---component_interface = "192.168.0.10"
13
-
14
---use_libevent = true
15
-
16
-modules_enabled = {
17
-
18
-    -- Generally required
19
-    "roster"; -- Allow users to have a roster. Recommended ;)
20
-    "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
21
-    "tls"; -- Add support for secure TLS on c2s/s2s connections
22
-    "dialback"; -- s2s dialback support
23
-    "disco"; -- Service discovery
24
-    "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
25
-
26
-    -- Not essential, but recommended
27
-    "private"; -- Private XML storage (for room bookmarks, etc.)
28
-    "vcard"; -- Allow users to set vCards
29
-
30
-    -- These are commented by default as they have a performance impact
31
-    --"privacy"; -- Support privacy lists
32
-    "compression"; -- Stream compression (requires the lua-zlib package installed)
33
-
34
-    -- Nice to have
35
-    "version"; -- Replies to server version requests
36
-    "uptime"; -- Report how long server has been running
37
-    "time"; -- Let others know the time here on this server
38
-    "ping"; -- Replies to XMPP pings with pongs
39
-    "pep"; -- Enables users to publish their mood, activity, playing music and more
40
-    "register"; -- Allow users to register on this server using a client and change passwords
41
-
42
-    -- Admin interfaces
43
-    "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
44
-    --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
45
-
46
-    -- HTTP modules
47
-    "bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
48
-    --"http_files"; -- Serve static files from a directory over HTTP
49
-
50
-    -- Other specific functionality
51
-    --"groups"; -- Shared roster support
52
-    --"announce"; -- Send announcement to all online users
53
-    --"welcome"; -- Welcome users who register accounts
54
-    --"watchregistrations"; -- Alert admins of registrations
55
-    --"motd"; -- Send a message to users when they log in
56
-    --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
57
-
58
-    -- jitsi
59
-    "smacks";
60
-    "carbons";
61
-    "mam";
62
-    "lastactivity";
63
-    "offline";
64
-    "pubsub";
65
-    "adhoc";
66
-    "websocket";
67
-    "http_altconnect";
68
-}
69
-
70
-modules_disabled = {
71
-    --"offline"; -- Store offline messages
72
-    --"c2s"; -- Handle client connections
73
-    --"s2s"; -- Handle server-to-server connections
74
-}
75
-
76
-allow_registration = false
77
-
78
-ssl = {
79
-    key = "/etc/prosody/certs/localhost.key";
80
-    certificate = "/etc/prosody/certs/localhost.crt";
81
-}
82
-
83
-
84
---c2s_require_encryption = true
85
-
86
-
87
---s2s_secure_auth = false
88
-
89
-
90
---s2s_insecure_domains = { "gmail.com" }
91
-
92
-
93
---s2s_secure_domains = { "jabber.org" }
94
-
95
-pidfile = "/var/run/prosody/prosody.pid"
96
-
97
-
98
-authentication = "internal_hashed"
99
-
100
-
101
---storage = "sql" -- Default is "internal"
102
-
103
---sql = { driver = "SQLite3", database = "prosody.sqlite" } -- Default. 'database' is the filename.
104
---sql = { driver = "MySQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
105
---sql = { driver = "PostgreSQL", database = "prosody", username = "prosody", password = "secret", host = "localhost" }
106
-
107
-log = {
108
-    info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
109
-    error = "/var/log/prosody/prosody.err";
110
-    "*syslog";
111
-}
112
-
113
------------ Virtual hosts -----------
114
-
115
---VirtualHost "localhost"
116
-
117
-VirtualHost "jitsi.example.com"
118
-    -- enabled = false -- Remove this line to enable this host
119
-    authentication = "anonymous"
120
-    -- Assign this host a certificate for TLS, otherwise it would use the one
121
-    -- set in the global section (if any).
122
-    -- Note that old-style SSL on port 5223 only supports one certificate, and will always
123
-    -- use the global one.
124
-    ssl = {
125
-        key = "/var/lib/prosody/jitsi.example.com.key";
126
-        certificate = "/var/lib/prosody/jitsi.example.com.crt";
127
-    }
128
-
129
-    c2s_require_encryption = false
130
-
131
-VirtualHost "auth.jitsi.example.com"
132
-    ssl = {
133
-        key = "/var/lib/prosody/auth.jitsi.example.com.key";
134
-        certificate = "/var/lib/prosody/auth.jitsi.example.com.crt";
135
-    }
136
-    authentication = "internal_hashed"
137
-
138
------- Components ------
139
-
140
----Set up a MUC (multi-user chat) room server on conference.example.com:
141
---Component "conference.example.com" "muc"
142
-
143
---Component "proxy.example.com" "proxy65"
144
-
145
----Set up an external component (default component port is 5347)
146
---
147
---
148
---Component "gateway.example.com"
149
-
150
-Component "conference.jitsi.example.com" "muc"
151
-
152
-Component "jitsi-videobridge.jitsi.example.com"
153
-    component_secret = "IfGaish6"

+ 0
- 32
doc/example-config-files/scalable/jicofo_config.scalable.example View File

@@ -1,32 +0,0 @@
1
-# Jitsi Conference Focus settings
2
-# sets the host name of the XMPP server
3
-JICOFO_HOST=localhost
4
-
5
-# sets the XMPP domain (default: none)
6
-JICOFO_HOSTNAME=meet.example.com
7
-
8
-# sets the secret used to authenticate as an XMPP component
9
-JICOFO_SECRET=$JICOFO_SECRET
10
-
11
-# sets the port to use for the XMPP component connection
12
-JICOFO_PORT=5347
13
-
14
-# sets the XMPP domain name to use for XMPP user logins
15
-JICOFO_AUTH_DOMAIN=auth.meet.example.com
16
-
17
-# sets the username to use for XMPP user logins
18
-JICOFO_AUTH_USER=focus
19
-
20
-# sets the password to use for XMPP user logins
21
-JICOFO_AUTH_PASSWORD=$JICOFO_PASSWORD
22
-
23
-# extra options to pass to the jicofo daemon
24
-JICOFO_OPTS=""
25
-
26
-# adds java system props that are passed to jicofo (default are for home and logging config file)
27
-JAVA_SYS_PROPS=" \
28
-    -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi \
29
-    -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo \
30
-    -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi \
31
-    -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties \
32
-"

+ 0
- 6
doc/example-config-files/scalable/jicofo_sip-communicator.properties.scalable.example View File

@@ -1,6 +0,0 @@
1
-
2
-org.jitsi.jicofo.BRIDGE_MUC=JvbBrewery@internal.auth.meet.example.com
3
-org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true
4
-
5
-org.jitsi.jicofo.jibri.BREWERY=JibriBrewery@internal.auth.meet.example.com
6
-org.jitsi.jicofo.jibri.PENDING_TIMEOUT=90

+ 0
- 83
doc/example-config-files/scalable/meet.example.com.cfg.lua.scalable.example View File

@@ -1,87 +0,0 @@
1
-plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
2
-
3
-muc_mapper_domain_base = "meet.example.com";
4
-
5
-turncredentials_secret = "turncredentials_secret_test";
6
-
7
-turncredentials = {
8
-    { type = "stun", host = "meet.example.com", port = "443" },
9
-    { type = "turn", host = "meet.example.com", port = "443", transport = "udp" },
10
-    { type = "turns", host = "meet.example.com", port = "443", transport = "tcp" }
11
-};
12
-
13
-cross_domain_bosh = false;
14
-consider_bosh_secure = true;
15
-
16
-VirtualHost "meet.example.com"
17
-    -- enabled = false -- Remove this line to enable this host
18
-    authentication = "anonymous"
19
-    -- Properties below are modified by jitsi-meet-tokens package config
20
-    -- and authentication above is switched to "token"
21
-    --app_id="example_app_id"
22
-    --app_secret="example_app_secret"
23
-    -- Assign this host a certificate for TLS, otherwise it would use the one
24
-    -- set in the global section (if any).
25
-    -- Note that old-style SSL on port 5223 only supports one certificate, and will always
26
-    -- use the global one.
27
-    ssl = {
28
-        key = "/etc/prosody/certs/meet.example.com.key";
29
-        certificate = "/etc/prosody/certs/meet.example.com.crt";
30
-    }
31
-    speakerstats_component = "speakerstats.meet.example.com"
32
-    conference_duration_component = "conferenceduration.meet.example.com"
33
-    -- we need bosh
34
-    modules_enabled = {
35
-        "bosh";
36
-        "pubsub";
37
-        "ping"; -- Enable mod_ping
38
-        "speakerstats";
39
-        "turncredentials";
40
-        "conference_duration";
41
-    }
42
-    c2s_require_encryption = false
43
-
44
-Component "conference.meet.example.com" "muc"
45
-    storage = "memory"
46
-    modules_enabled = {
47
-        "muc_meeting_id";
48
-        "muc_domain_mapper";
49
-        --"token_verification";
50
-    }
51
-    admins = { "focus@auth.meet.example.com" }
52
-    muc_room_locking = false
53
-    muc_room_default_public_jids = true
54
-
55
-Component "internal.auth.meet.example.com" "muc"
56
-    storage = "memory"
57
-    modules_enabled = {
58
-        "ping";
59
-    }
60
-    admins = { "focus@auth.meet.example.com", "jvb@auth.meet.example.com" }
61
-
62
-VirtualHost "auth.meet.example.com"
63
-    ssl = {
64
-        key = "/etc/prosody/certs/auth.meet.example.com.key";
65
-        certificate = "/etc/prosody/certs/auth.meet.example.com.crt";
66
-    }
67
-    authentication = "internal_hashed"
68
-
69
-Component "focus.meet.example.com"
70
-    component_secret = "jicofo_secret_test"
71
-
72
-Component "speakerstats.meet.example.com" "speakerstats_component"
73
-    muc_component = "conference.meet.example.com"
74
-
75
-Component "conferenceduration.meet.example.com" "conference_duration_component"
76
-    muc_component = "conference.meet.example.com"
77
-
78
-VirtualHost "recorder.meet.example.com"
79
-    modules_enabled = {
80
-        "ping";
81
-    }
82
-    authentication = "internal_hashed"
83
-    c2s_require_encryption = false

+ 0
- 91
doc/example-config-files/scalable/prosody.cfg.lua.scalable.example View File

@@ -1,112 +0,0 @@
1
-
2
----------- Server-wide settings ----------
3
-
4
-admins = { }
5
-
6
-network_backend = "epoll"
7
-
8
-modules_enabled = {
9
-
10
-    -- Generally required
11
-    "roster"; -- Allow users to have a roster. Recommended ;)
12
-    "saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
13
-    "tls"; -- Add support for secure TLS on c2s/s2s connections
14
-    "dialback"; -- s2s dialback support
15
-    "disco"; -- Service discovery
16
-
17
-    -- Not essential, but recommended
18
-    "carbons"; -- Keep multiple clients in sync
19
-    "pep"; -- Enables users to publish their avatar, mood, activity, playing music and more
20
-    "private"; -- Private XML storage (for room bookmarks, etc.)
21
-    "blocklist"; -- Allow users to block communications with other users
22
-    "vcard4"; -- User profiles (stored in PEP)
23
-    "vcard_legacy"; -- Conversion between legacy vCard and PEP Avatar, vcard
24
-
25
-    -- Nice to have
26
-    "version"; -- Replies to server version requests
27
-    "uptime"; -- Report how long server has been running
28
-    "time"; -- Let others know the time here on this server
29
-    "ping"; -- Replies to XMPP pings with pongs
30
-    "register"; -- Allow users to register on this server using a client and change passwords
31
-    --"mam"; -- Store messages in an archive and allow users to access it
32
-    --"csi_simple"; -- Simple Mobile optimizations
33
-
34
-    -- Admin interfaces
35
-    "admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
36
-    --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
37
-
38
-    -- HTTP modules
39
-    --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
40
-    --"websocket"; -- XMPP over WebSockets
41
-    --"http_files"; -- Serve static files from a directory over HTTP
42
-
43
-    -- Other specific functionality
44
-    --"limits"; -- Enable bandwidth limiting for XMPP connections
45
-    --"groups"; -- Shared roster support
46
-    --"server_contact_info"; -- Publish contact information for this service
47
-    --"announce"; -- Send announcement to all online users
48
-    --"welcome"; -- Welcome users who register accounts
49
-    --"watchregistrations"; -- Alert admins of registrations
50
-    --"motd"; -- Send a message to users when they log in
51
-    --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
52
-    --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
53
-}
54
-
55
-modules_disabled = {
56
-    --"offline"; -- Store offline messages
57
-    --"c2s"; -- Handle client connections
58
-    --"s2s"; -- Handle server-to-server connections
59
-    --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
60
-}
61
-
62
-allow_registration = false
63
-
64
-
65
-c2s_require_encryption = true
66
-
67
-
68
-s2s_require_encryption = true
69
-
70
-
71
-s2s_secure_auth = false
72
-
73
-pidfile = "/var/run/prosody/prosody.pid"
74
-
75
-
76
-authentication = "internal_hashed"
77
-
78
-archive_expires_after = "1w" -- Remove archived messages after 1 week
79
-
80
-log = {
81
-    info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
82
-    error = "/var/log/prosody/prosody.err";
83
-    --"*syslog"; -- Uncomment this for logging to syslog
84
-    --"*console"; -- Log to the console, useful for debugging with daemonize=false
85
-}
86
-
87
-certificates = "certs"
88
-
89
-VirtualHost "localhost"
90
-
91
-Include "conf.d/*.cfg.lua"

+ 0
- 24
doc/example-config-files/scalable/videobridge_config.scalable.example View File

@@ -1,24 +0,0 @@
1
-# Jitsi Videobridge settings
2
-
3
-# sets the XMPP domain (default: none)
4
-JVB_HOSTNAME=meet.example.com
5
-
6
-# sets the hostname of the XMPP server (default: domain if set, localhost otherwise)
7
-JVB_HOST=
8
-
9
-# sets the port of the XMPP server (default: 5275)
10
-JVB_PORT=5347
11
-
12
-# sets the shared secret used to authenticate to the XMPP server
13
-JVB_SECRET=$VP_SECRET
14
-
15
-# extra options to pass to the JVB daemon
16
-JVB_OPTS="--apis=rest,"
17
-
18
-# adds java system props that are passed to jvb (default are for home and logging config file)
19
-JAVA_SYS_PROPS=" \
20
-    -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi \
21
-    -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge \
22
-    -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi \
23
-    -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties \
24
-"

+ 0
- 19
doc/example-config-files/scalable/videobridge_sip-communicator.properties.scalable.example View File

@@ -1,19 +0,0 @@
1
-org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
2
-org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
3
-
4
-org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true
5
-
6
-org.jitsi.videobridge.ENABLE_REST_SHUTDOWN=true
7
-
8
-# Enable broadcasting stats/presence in a MUC
9
-org.jitsi.videobridge.ENABLE_STATISTICS=true
10
-org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri,rest
11
-org.jitsi.videobridge.STATISTICS_INTERVAL=5000
12
-
13
-org.jitsi.videobridge.xmpp.user.shard-1.HOSTNAME=meet.example.com
14
-org.jitsi.videobridge.xmpp.user.shard-1.DOMAIN=auth.meet.example.com
15
-org.jitsi.videobridge.xmpp.user.shard-1.USERNAME=jvb
16
-org.jitsi.videobridge.xmpp.user.shard-1.PASSWORD=$VB_PASSWORD
17
-org.jitsi.videobridge.xmpp.user.shard-1.MUC_JIDS=JvbBrewery@internal.auth.meet.example.com
18
-org.jitsi.videobridge.xmpp.user.shard-1.MUC_NICKNAME=$NICKNAME_OF_VB
19
-org.jitsi.videobridge.xmpp.user.shard-1.DISABLE_CERTIFICATE_VERIFICATION=true

Loading…
Cancel
Save