From b8166aa71069c148253742da9589d74023fdd533 Mon Sep 17 00:00:00 2001 From: Thibaud WOJTOWICZ Date: Mon, 15 Aug 2022 00:28:51 +0200 Subject: [PATCH 1/2] improved readability of /etc/gemserv/config.toml --- conf/server.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/server.toml b/conf/server.toml index 17a9b9a..5b75b28 100644 --- a/conf/server.toml +++ b/conf/server.toml @@ -11,3 +11,4 @@ interface = [ "[::]:1965" ] # are error, warn, and info. If error is set it will only show error. If warn # is set it will show error and warn. Info shows all three. log = "info" + From bfd74d334f9f8a61df9b6c65fe895033e3d2ea67 Mon Sep 17 00:00:00 2001 From: Thibaud WOJTOWICZ Date: Mon, 15 Aug 2022 00:28:55 +0200 Subject: [PATCH 2/2] improve readme and readme_fr --- README.md | 2 +- README_fr.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 961b562..5e66080 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ To add a gemini capsule, create a `/etc/gemserv/config.d/example.toml` file as f ``` toml [[server]] hostname = "yourdomain.org" -dir = "/path/to/serv" +dir = "/opt/yunohost/gemserv" key = "/etc/yunohost/certs/yourdomain.org/key.pem" cert = "/etc/yunohost/certs/yourdomain.org/crt.pem" # index is optional but defaults to index.gemini. The server will serve files diff --git a/README_fr.md b/README_fr.md index 9ef9138..a8fc722 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,14 +31,14 @@ A gemini server written in rust. **Version incluse :** 0.6.6~ynh4 ## Avertissements / informations importantes -Please note that Gemserv uses the TCP port 1965, so you can't use it for anything else. +Gemserv utilise le port TCP 1965, vous ne pourrez donc l'utiliser pour autre chose. -To add a gemini capsule, create a `/etc/gemserv/config.d/example.toml` file as following: +Pour ajouter une capsule, créer le fichier de configuration `/etc/gemserv/config.d/example.toml` avec le contenu suivant: ``` toml [[server]] hostname = "yourdomain.org" -dir = "/path/to/serv" +dir = "/opt/yunohost/gemserv" key = "/etc/yunohost/certs/yourdomain.org/key.pem" cert = "/etc/yunohost/certs/yourdomain.org/crt.pem" # index is optional but defaults to index.gemini. The server will serve files