docs: clarify that the config dir is the working dir by default

Fixes #211
This commit is contained in:
Nicola Murino 2020-10-29 21:54:02 +01:00
parent 5bc1c2de2d
commit 58b0ca585c
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -176,7 +176,7 @@ If you want to use a private host key that uses an algorithm/setting different f
]
```
where `id_rsa`, `id_ecdsa` and `id_ed25519`, in this example, are files containing your generated keys. You can use absolute paths or paths relative to the configuration directory.
where `id_rsa`, `id_ecdsa` and `id_ed25519`, in this example, are files containing your generated keys. You can use absolute paths or paths relative to the configuration directory specified via the `--config-dir` serve flag. By default the configuration directory is the working directory.
If you want the default host keys generation in a directory different from the config dir, please specify absolute paths to files named `id_rsa`, `id_ecdsa` or `id_ed25519` like this: