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 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" +