diff --git a/README.md b/README.md index 411cd91..02a3149 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,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 cc1c244..120171c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -15,31 +15,31 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour ## Vue d'ensemble -A gemini server written in rust. +Un serveur Gemini écrit en rust. -### Features +### Caractéristiques -- Vhosts +- Hôtes virtuels - CGI -- User directories +- Dossiers utilisateurs - Reverse proxy -- Redirect +- Redirection - SCGI -- Reload config on SIGHUP +- Rechargement de la configuration sur SIGHUP **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