|
|
@@ -4,7 +4,7 @@ This describes configuring a server `jitmeet.example.com`. You will nedd to
|
|
4
|
4
|
change references to that to match your host, and generate some passwords for
|
|
5
|
5
|
`YOURSECRET1` and `YOURSECRET2`.
|
|
6
|
6
|
|
|
7
|
|
-There are also some complete [example config files](https://www.dropbox.com/sh/jgp4s8kp6xuyubr/5FACgJmqLD) available..
|
|
|
7
|
+There are also some complete [example config files](https://www.dropbox.com/sh/jgp4s8kp6xuyubr/5FACgJmqLD) available, mentioned in each section.
|
|
8
|
8
|
|
|
9
|
9
|
## Install prosody and otalk modules
|
|
10
|
10
|
```sh
|
|
|
@@ -19,7 +19,8 @@ cp -r mod* /usr/lib/prosody/modules
|
|
19
|
19
|
```
|
|
20
|
20
|
|
|
21
|
21
|
## Configure prosody
|
|
22
|
|
-Modify the config file in `/etc/prosody/prosody.cfg.lua`:
|
|
|
22
|
+Modify the config file in `/etc/prosody/prosody.cfg.lua` (see also the example config file):
|
|
|
23
|
+
|
|
23
|
24
|
- modules to enable/add: compression, bosh, smacks3, smacks2, carbons, mam, lastactivity, offline, pubsub, adhoc, websocket, http_altconnect
|
|
24
|
25
|
- comment out: `c2s_require_encryption = true`, and `s2s_secure_auth = false`
|
|
25
|
26
|
- change `authentication = "internal_hashed"`
|
|
|
@@ -46,7 +47,6 @@ Component "conference.jitmeet.example.com" "muc"
|
|
46
|
47
|
Component "jitsi-videobridge.jitmeet.example.com"
|
|
47
|
48
|
component_secret = "YOURSECRET1"
|
|
48
|
49
|
```
|
|
49
|
|
-- check the example config file, next to the document (`prosody.cfg.lua`)
|
|
50
|
50
|
|
|
51
|
51
|
Generate certs for the domain:
|
|
52
|
52
|
```sh
|
|
|
@@ -70,7 +70,7 @@ types_hash_max_size 2048;
|
|
70
|
70
|
server_names_hash_bucket_size 64;
|
|
71
|
71
|
```
|
|
72
|
72
|
|
|
73
|
|
-Add a new file in /etc/nginx/sites-available (see the jitmeet.example.com file for example)
|
|
|
73
|
+Add a new file `jitmeet.example.com` in `/etc/nginx/sites-available` (see also the example config file):
|
|
74
|
74
|
```
|
|
75
|
75
|
server {
|
|
76
|
76
|
listen 80;
|
|
|
@@ -104,7 +104,6 @@ Add link for the added configuration
|
|
104
|
104
|
cd /etc/nginx/sites-enabled
|
|
105
|
105
|
ln -s ../sites-available/jitmeet.example.com jitmeet.example.com
|
|
106
|
106
|
```
|
|
107
|
|
-check the example config files for more info.
|
|
108
|
107
|
|
|
109
|
108
|
## Fix firewall if needed
|
|
110
|
109
|
```sh
|
|
|
@@ -144,7 +143,7 @@ git clone https://github.com/jitsi/jitmeet.git
|
|
144
|
143
|
mv jitmeet/ jitmeet.example.com
|
|
145
|
144
|
```
|
|
146
|
145
|
|
|
147
|
|
-Edit host names in `/srv/jitmeet.example.com/config.js`:
|
|
|
146
|
+Edit host names in `/srv/jitmeet.example.com/config.js` (see also the example config file):
|
|
148
|
147
|
```
|
|
149
|
148
|
var config = {
|
|
150
|
149
|
hosts: {
|
|
|
@@ -159,7 +158,6 @@ var config = {
|
|
159
|
158
|
minChromeExtVersion: '0.1' // Required version of Chrome extension
|
|
160
|
159
|
};
|
|
161
|
160
|
```
|
|
162
|
|
-check the example config file, next to the document (config.js)
|
|
163
|
161
|
|
|
164
|
162
|
Restart nginx to get the new configuration:
|
|
165
|
163
|
```sh
|