update readme

This commit is contained in:
yggverse 2024-05-09 06:00:30 +03:00
parent c048a22421
commit e42c996887

View File

@ -78,7 +78,7 @@ Children nodes dependent of parent arguments defined and would be skipped in oth
Following list explains `key` dependencies and it `value` options (started with `=`)
* `host` - optional, default is `127.0.0.1` e.g. `localhost` connections only
* `port` - optional, default value depends of server `type` selected, for example `1900` for `nex` or `1965` for `gemini`
* `port` - optional, default value depends of server `type` selected e.g. `1900` for `nex` or `1965` for `gemini`
* `fail` - **absolute path** to the failure template (e.g. `/path/to/error.gmi`), disabled by default
* `dump` - `enable` or `disable` server debug feature, enabled by default
* `type` - required, server protocol, also auto-defines default `port`, supported options:
@ -86,8 +86,8 @@ Following list explains `key` dependencies and it `value` options (started with
* `mode` - server implementation variant, `fs` (filesystem) by default
* =`fs` - static files hosting for the `root` location
* `root` - **absolute path** to the public directory, where browser navigation starting from
* `file` - index **file name** that server try to open on directory path requested, disabled by default
* `list` - show content listing in the requested directory (when index `file` not found), enabled by default
* `file` - **file name** that server try to open on directory path requested, disabled by default
* `list` - show listing in directory requested (on index `file` not found), enabled by default
* `date` - show file modification date as the alt text in directory listing (useful for gemfeed), disabled by default
### Autostart