1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gemserv_ynh.git synced 2024-09-03 18:36:27 +02:00

Merge pull request #21 from GannonTdW/testing

Improve Readme
This commit is contained in:
yalh76 2022-08-15 01:09:50 +02:00 committed by GitHub
commit 9ef89321a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -38,7 +38,7 @@ To add a gemini capsule, create a `/etc/gemserv/config.d/example.toml` file as f
``` toml ``` toml
[[server]] [[server]]
hostname = "yourdomain.org" hostname = "yourdomain.org"
dir = "/path/to/serv" dir = "/opt/yunohost/gemserv"
key = "/etc/yunohost/certs/yourdomain.org/key.pem" key = "/etc/yunohost/certs/yourdomain.org/key.pem"
cert = "/etc/yunohost/certs/yourdomain.org/crt.pem" cert = "/etc/yunohost/certs/yourdomain.org/crt.pem"
# index is optional but defaults to index.gemini. The server will serve files # index is optional but defaults to index.gemini. The server will serve files

View file

@ -31,14 +31,14 @@ A gemini server written in rust.
**Version incluse :** 0.6.6~ynh4 **Version incluse :** 0.6.6~ynh4
## Avertissements / informations importantes ## 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 ``` toml
[[server]] [[server]]
hostname = "yourdomain.org" hostname = "yourdomain.org"
dir = "/path/to/serv" dir = "/opt/yunohost/gemserv"
key = "/etc/yunohost/certs/yourdomain.org/key.pem" key = "/etc/yunohost/certs/yourdomain.org/key.pem"
cert = "/etc/yunohost/certs/yourdomain.org/crt.pem" cert = "/etc/yunohost/certs/yourdomain.org/crt.pem"
# index is optional but defaults to index.gemini. The server will serve files # index is optional but defaults to index.gemini. The server will serve files

View file

@ -11,3 +11,4 @@ interface = [ "[::]:1965" ]
# are error, warn, and info. If error is set it will only show error. If warn # 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. # is set it will show error and warn. Info shows all three.
log = "info" log = "info"