aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorqorg11 <qorg@vxempire.xyz>2021-07-02 20:23:19 +0200
committerqorg11 <qorg@vxempire.xyz>2021-07-02 20:23:19 +0200
commit04b9808cf84f991c0c92195392d9b538f7b5e234 (patch)
treeff2372ff1328b5505e2d6fab68cdd39689eda153 /guides
parent69b03633cd2cca724b0c4222a11cfe159993e15a (diff)
downloadkill9-04b9808cf84f991c0c92195392d9b538f7b5e234.tar.gz
kill9-04b9808cf84f991c0c92195392d9b538f7b5e234.tar.bz2
kill9-04b9808cf84f991c0c92195392d9b538f7b5e234.tar.zst
testing syntax highlighting
Diffstat (limited to 'guides')
-rw-r--r--guides/xmpp_server.md28
1 files changed, 17 insertions, 11 deletions
diff --git a/guides/xmpp_server.md b/guides/xmpp_server.md
index a3a4882..986202a 100644
--- a/guides/xmpp_server.md
+++ b/guides/xmpp_server.md
@@ -79,17 +79,23 @@ cert import /usr/local/etc/letsencrypt/live/
Now, you have to give prosody that certificate, you have to put it
twice for some reason, like this:
-~~~
- ssl = {
- key = "certs/flatline.fr.to.key";
- certificate = "certs/flatline.fr.to.crt";
- }
- VirtualHost "flatline.fr.to"
- ssl = {
- key = "certs/flatline.fr.to.key";
- certificate = "certs/flatline.fr.to.crt";
- }
-~~~
+<pre class="hl">ssl <span class="hl opt">= {</span> key <span
+ class="hl opt">=</span> <span class="hl
+ sng">&quot;certs/flatline.fr.to.key&quot;</span><span class="hl
+ opt">;</span> certificate <span class="hl opt">=</span> <span
+ class="hl sng">&quot;certs/flatline.fr.to.crt&quot;</span><span
+ class="hl opt">;</span> <span class="hl opt">}</span>
+
+VirtualHost <span class="hl sng">&quot;flatline.fr.to&quot;</span>
+
+ssl <span class="hl opt">= {</span> key <span class="hl opt">=</span>
+ <span class="hl
+ sng">&quot;certs/flatline.fr.to.key&quot;</span><span class="hl
+ opt">;</span> certificate <span class="hl opt">=</span> <span
+ class="hl sng">&quot;certs/flatline.fr.to.crt&quot;</span><span
+ class="hl opt">;</span> <span class="hl opt">}</span> </pre>
+
+
now, run `prosodyctl check`, you should get an output like this