hscc

The personnal website source code of 'Hugo Soucy' <https://hugo.soucy.cc/>. Creates from an homebrewed static website generator.
Log | Files | Refs

commit 9d8b89c0ac0b72d86d4ded7e589cd97087f1073c
parent 054d75da043a00ce91cece3d20a9d38bbf92c1b9
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun,  7 Feb 2021 07:16:49 -0500

Add a tuto about prosody http upload

Diffstat:
Adrafts/prosody-http-upload.lua | 7+++++++
Adrafts/prosody-http-upload.md | 12++++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/drafts/prosody-http-upload.lua b/drafts/prosody-http-upload.lua @@ -0,0 +1,7 @@ +return { + title = "Prosody: Installation du module http_upload", + date = "2021-01-23", + datetime = "13:51:09", + posttype = "article", + keywords = { "prosody","xmpp","howto","guide","http", } +} diff --git a/drafts/prosody-http-upload.md b/drafts/prosody-http-upload.md @@ -0,0 +1,12 @@ +# Prosody: Installation du module http_upload + +1. Créer le sous-domaine <shr.soucy.cc>. +2. Ajouter un *SRV records* (enregistrement DNS) pour <shr.soucy.cc>. + * `_xmpp-server._tcp.shr.soucy.cc 1800 IN SRV 0 5 5281 soucy.cc.` +3. Ajouter la config Nginx pour <shr.soucy.cc>. +4. Mettre un simple fichier `index.txt` dans `/var/www/htdocs/shr.soucy.cc/`. +5. Installer `certbot` pour OpenBSD: + * `pkg_add -v cerbot` +6. Avec **cerbot** créer un certificat pour <shr.soucy.cc>: + * `certbot certonly --webroot -w /var/www/htdocs/shr.soucy.cc -d shr.soucy.cc` +7. Configuration de prosody pour http_upload