Removes Prosody patch instructions from tokens.md(the code is in the trunk).

This commit is contained in:
paweldomas 2016-01-04 11:40:07 +01:00
parent 598d29f970
commit d2afa4b0e1
1 changed files with 3 additions and 8 deletions

View File

@ -68,20 +68,15 @@ Proceed to "Patching Prosody" section to finish configuration.
### Patching Prosody
JWT token authentication requires prosody-trunk version at least 603. It also requires special patch that allows the plugin to retrieve the token from BOSH URL.
JWT token authentication requires prosody-trunk version at least 607.
You can download latest prosody-trunk packages from [here]. Then install it with the following command:
```
sudo dpkg -i prosody-trunk_1nightly603-1~trusty_amd64.deb
sudo dpkg -i prosody-trunk_1nightly607-1~trusty_amd64.deb
```
Next step is to patch Prosody. If you have *jitsi-meet-tokens* package installed just use the following command:
```
sudo patch -N /usr/lib/prosody/modules/mod_bosh.lua /usr/share/jitsi-meet/prosody-plugins/mod_bosh.lua.patch
```
Also make sure that */etc/prosody/prosody.cfg.lua* contains the line below at the end to include meet host config. That's because Prosody nightly may come with slightly different default config:
Make sure that */etc/prosody/prosody.cfg.lua* contains the line below at the end to include meet host config. That's because Prosody nightly may come with slightly different default config:
```
Include "conf.d/*.cfg.lua"