diff options
Diffstat (limited to 'blog/src')
-rw-r--r-- | blog/src/.files | 2 | ||||
-rw-r--r-- | blog/src/a/xmpp_server_with_prosody.md | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/blog/src/.files b/blog/src/.files index 979a2f6..7d88a59 100644 --- a/blog/src/.files +++ b/blog/src/.files @@ -9,4 +9,4 @@ a/mail_server_with_postfix.md 1616299559.6570284 1623137344.8639452 english,serv a/new_blogging_system.md 1622172099.117893 1622173322.4337702 english,short,tools,update a/asi_nomas_esta_quedando.md 1622795043.0874712 0.0 short,spanish,update a/acomodada_la_pagina_de_arte.md 1623006369.6071973 1623006525.2665823 short,spanish,update -a/xmpp_server_with_prosody.md 1623216270.0372887 0.0 english,server,tools,tutorial +a/xmpp_server_with_prosody.md 1623216270.0372887 1623300135.5528305 english,server,tools,tutorial 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 ``` |