mirror of git://git.qorg11.net/kill9.git
formatting fix
This commit is contained in:
parent
04b9808cf8
commit
2aab771ad3
|
@ -1,3 +1,6 @@
|
|||
<style>
|
||||
</style>
|
||||
|
||||
# How to setup a prosody server
|
||||
|
||||
In this guide i'm going to show how to make a prosody (XMPP)
|
||||
|
@ -79,22 +82,19 @@ 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:
|
||||
|
||||
<pre class="hl">ssl <span class="hl opt">= {</span> key <span
|
||||
class="hl opt">=</span> <span class="hl
|
||||
sng">"certs/flatline.fr.to.key"</span><span class="hl
|
||||
opt">;</span> certificate <span class="hl opt">=</span> <span
|
||||
class="hl sng">"certs/flatline.fr.to.crt"</span><span
|
||||
class="hl opt">;</span> <span class="hl opt">}</span>
|
||||
<body class="hl">
|
||||
<pre class="hl">ssl <span class="hl opt">= {</span>
|
||||
key <span class="hl opt">=</span> <span class="hl sng">"certs/flatline.fr.to.key"</span><span class="hl opt">;</span>
|
||||
certificate <span class="hl opt">=</span> <span class="hl sng">"certs/flatline.fr.to.crt"</span><span class="hl opt">;</span>
|
||||
<span class="hl opt">}</span>
|
||||
|
||||
VirtualHost <span class="hl sng">"flatline.fr.to"</span>
|
||||
|
||||
ssl <span class="hl opt">= {</span> key <span class="hl opt">=</span>
|
||||
<span class="hl
|
||||
sng">"certs/flatline.fr.to.key"</span><span class="hl
|
||||
opt">;</span> certificate <span class="hl opt">=</span> <span
|
||||
class="hl sng">"certs/flatline.fr.to.crt"</span><span
|
||||
class="hl opt">;</span> <span class="hl opt">}</span> </pre>
|
||||
|
||||
ssl <span class="hl opt">= {</span>
|
||||
key <span class="hl opt">=</span> <span class="hl sng">"certs/flatline.fr.to.key"</span><span class="hl opt">;</span>
|
||||
certificate <span class="hl opt">=</span> <span class="hl sng">"certs/flatline.fr.to.crt"</span><span class="hl opt">;</span>
|
||||
<span class="hl opt">}</span>
|
||||
</pre>
|
||||
|
||||
|
||||
now, run `prosodyctl check`, you should get an output like this
|
||||
|
|
Loading…
Reference in New Issue