update readme

This commit is contained in:
yggverse 2024-04-26 23:52:42 +03:00
parent 9f115502ec
commit b0b47473d8

View File

@ -36,9 +36,10 @@ php src/nex.php host=127.0.0.1 port=1900 path=/target/dir
* `fail` - failure **filepath** that contain template (e.g. `error.gmi`) for the error handler, `fail` text by default
* `list` - show content listing in the requested directory (when index file not found), `yes` by default
* `size` - limit request length in bytes, `1024` by default
* `dump` - dump queries or set blank to disable, default: `[{time}] [{code}] {host}:{port} {path}`
* `dump` - dump queries or set blank to disable, default: `[{time}] [{code}] {host}:{port} {path} {goal}`
* `{time}` - event time in `c` format
* `{code}` - formal response code: `1` - found, `0` - not found
* `{host}` - peer host
* `{port}` - peer port
* `{path}` - path requested
* `{goal}` - goal destination