summaryrefslogtreecommitdiff
path: root/blog/src/a/xmpp_server_with_prosody.md
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-07-17 17:01:07 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-07-17 17:01:07 -0600
commitb0d23f0f9daf2935de56646e599d40ff641cbbce (patch)
tree241949e8ef6d480065b004dd996f893cdf927106 /blog/src/a/xmpp_server_with_prosody.md
parentf39af47eb03343dadf2c646dc43c8b8e131e427a (diff)
forgot to update repo
Diffstat (limited to 'blog/src/a/xmpp_server_with_prosody.md')
-rw-r--r--blog/src/a/xmpp_server_with_prosody.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/blog/src/a/xmpp_server_with_prosody.md b/blog/src/a/xmpp_server_with_prosody.md
index be3d610..e5d9607 100644
--- a/blog/src/a/xmpp_server_with_prosody.md
+++ b/blog/src/a/xmpp_server_with_prosody.md
@@ -364,7 +364,7 @@ You ???HAVE??? to read all of the configuration file, because there are a lot of
luac5.2 -p /etc/prosody/prosody.cfg.lua
```
-Notice that by default `prosody` will look up certificates that look like `sub.your.domain`, but if you get the certificates as myself, you'll have a single certificate for all subdomains, and by default it is in `/etc/letsencrypt/live`, which has some strict permissions. So, to import them you can run:
+Notice that by default `prosody` will look up certificates that look like `sub.your.domain`, but if you get the certificates like I do, you'll have a single certificate for all subdomains, and by default it is in `/etc/letsencrypt/live`, which has some strict permissions. So, to import it you can run:
```sh
prosodyctl --root cert import /etc/letsencrypt/live
@@ -534,7 +534,7 @@ pacman -S coturn
You can modify the configuration file (located at `/etc/turnserver/turnserver.conf`) as desired, but at least you need to make the following changes (uncomment or edit):
-```
+```ini
use-auth-secret
realm=proxy.your.domain
static-auth-secret=YOUR SUPER SECRET TURN PASSWORD
@@ -555,14 +555,14 @@ You can test if your TURN server works at [Trickle ICE](https://webrtc.github.io
At this point you should have a working XMPP server, start/enable the `prosody` service now:
-```
+```sh
systemctl start prosody.service
systemctl enable prosody.service
```
And you can add your first user with the `prosodyctl` command (it will prompt you to add a password):
-```
+```sh
prosodyctl adduser user@your.domain
```