mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
Auto-update README
This commit is contained in:
parent
9ef89321a7
commit
9f12f4d550
2 changed files with 7 additions and 5 deletions
|
@ -29,6 +29,7 @@ A gemini server written in rust.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.6.6~ynh4
|
**Shipped version:** 0.6.6~ynh4
|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
Please note that Gemserv uses the TCP port 1965, so you can't use it for anything else.
|
Please note that Gemserv uses the TCP port 1965, so you can't use it for anything else.
|
||||||
|
@ -38,7 +39,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 = "/opt/yunohost/gemserv"
|
dir = "/path/to/serv"
|
||||||
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
|
||||||
|
|
|
@ -28,17 +28,18 @@ A gemini server written in rust.
|
||||||
- Reload config on SIGHUP
|
- Reload config on SIGHUP
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 0.6.6~ynh4
|
**Version incluse :** 0.6.6~ynh4
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
Gemserv utilise le port TCP 1965, vous ne pourrez donc l'utiliser pour autre chose.
|
Please note that Gemserv uses the TCP port 1965, so you can't use it for anything else.
|
||||||
|
|
||||||
Pour ajouter une capsule, créer le fichier de configuration `/etc/gemserv/config.d/example.toml` avec le contenu suivant:
|
To add a gemini capsule, create a `/etc/gemserv/config.d/example.toml` file as following:
|
||||||
|
|
||||||
``` toml
|
``` toml
|
||||||
[[server]]
|
[[server]]
|
||||||
hostname = "yourdomain.org"
|
hostname = "yourdomain.org"
|
||||||
dir = "/opt/yunohost/gemserv"
|
dir = "/path/to/serv"
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue