mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
commit
9ef89321a7
3 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue