summaryrefslogtreecommitdiff
path: root/content/ejabberd.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/ejabberd.md')
-rw-r--r--content/ejabberd.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/ejabberd.md b/content/ejabberd.md
index 0080dba..5a7b716 100644
--- a/content/ejabberd.md
+++ b/content/ejabberd.md
@@ -53,7 +53,7 @@ The **XMPP hostname** is specified in the `hosts` section of
```yml
hosts:
- - example.org
+ - {{<hl>}}example.org{{</hl>}}
```
### Certificates
@@ -69,7 +69,7 @@ for both the fullchain cert and private key.
Using certbot, this process can be easily automated with these commands:
```sh
-$DOMAIN=subdomain.example.org
+$DOMAIN={{<hl>}}subdomain.example.org{{</hl>}}
certbot --nginx -d $DOMAIN certonly; mkdir -p /etc/ejabberd/certs/$DOMAIN
cp /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/ejabberd/certs/$DOMAIN
cp /etc/letsencrypt/live/$DOMAIN/privkey.pem /etc/ejabberd/certs/$DOMAIN
@@ -213,7 +213,7 @@ Then, using `ejabberdctl` as the ejabberd user, register the admin user
which is set in `ejabberd.yml`:
```sh
-su -c "ejabberdctl register admin example.org password" ejabberd
+su -c "ejabberdctl register {{<hl>}}admin example.org password{{</hl>}}" ejabberd
```
This will create the user **admin@example.org.**
@@ -245,13 +245,13 @@ your turnserver:
```yml
mod_stun_disco:
- secret: "your_auth_secret"
+ secret: "{{<hl>}}your_auth_secret{{</hl>}}"
services:
-
- host: turn.example.org
+ host: {{<hl>}}turn.example.org{{</hl>}}
type: stun
-
- host: turn.example.org
+ host: {{<hl>}}turn.example.org{{</hl>}}
type: turn
```