summaryrefslogtreecommitdiff
path: root/content/ejabberd.md
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-08-07 14:38:49 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-08-07 14:38:49 -0400
commit79404c875dbf20ba783c72b31111c6e2228d28a2 (patch)
tree1a80d0322bf9f81cf26da2204d95c98db854d93b /content/ejabberd.md
parentef1b2105e344e201e3f92ebece9d28efd58dbcac (diff)
begin rehighlighting of custom info in templates
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
```