Bläddra i källkod

Make references to example config files more consistent

master
Matthew Duggan 11 år sedan
förälder
incheckning
92fdbdc5de
1 ändrade filer med 5 tillägg och 7 borttagningar
  1. 5
    7
      INSTALL.md

+ 5
- 7
INSTALL.md Visa fil

4
 change references to that to match your host, and generate some passwords for
4
 change references to that to match your host, and generate some passwords for
5
 `YOURSECRET1` and `YOURSECRET2`.
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
 ## Install prosody and otalk modules
9
 ## Install prosody and otalk modules
10
 ```sh
10
 ```sh
19
 ```
19
 ```
20
 
20
 
21
 ## Configure prosody
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
 - modules to enable/add: compression, bosh, smacks3, smacks2, carbons, mam, lastactivity, offline, pubsub, adhoc, websocket, http_altconnect
24
 - modules to enable/add: compression, bosh, smacks3, smacks2, carbons, mam, lastactivity, offline, pubsub, adhoc, websocket, http_altconnect
24
 - comment out: `c2s_require_encryption = true`, and `s2s_secure_auth = false`
25
 - comment out: `c2s_require_encryption = true`, and `s2s_secure_auth = false`
25
 - change `authentication = "internal_hashed"`
26
 - change `authentication = "internal_hashed"`
46
 Component "jitsi-videobridge.jitmeet.example.com"
47
 Component "jitsi-videobridge.jitmeet.example.com"
47
     component_secret = "YOURSECRET1"
48
     component_secret = "YOURSECRET1"
48
 ```
49
 ```
49
-- check the example config file, next to the document (`prosody.cfg.lua`)
50
 
50
 
51
 Generate certs for the domain:
51
 Generate certs for the domain:
52
 ```sh
52
 ```sh
70
 server_names_hash_bucket_size 64;
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
 server {
75
 server {
76
     listen 80;
76
     listen 80;
104
 cd /etc/nginx/sites-enabled
104
 cd /etc/nginx/sites-enabled
105
 ln -s ../sites-available/jitmeet.example.com jitmeet.example.com
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
 ## Fix firewall if needed
108
 ## Fix firewall if needed
110
 ```sh
109
 ```sh
144
 mv jitmeet/ jitmeet.example.com
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
 var config = {
148
 var config = {
150
     hosts: {
149
     hosts: {
159
     minChromeExtVersion: '0.1' // Required version of Chrome extension
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
 Restart nginx to get the new configuration:
162
 Restart nginx to get the new configuration:
165
 ```sh
163
 ```sh

Laddar…
Avbryt
Spara