Browse Source

update readme

nex-php
yggverse 7 months ago
parent
commit
dede0e84fe
  1. 2
      README.md

2
README.md

@ -36,7 +36,7 @@ php src/nex.php host=127.0.0.1 port=1900 path=/target/dir
* `fail` - failure **file path** that contain template (e.g. `error.gmi`) for the error handler, `fail` text by default * `fail` - failure **file path** 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 or not defined), enabled by default * `list` - show content listing in the requested directory (when index file not found or not defined), enabled by default
* `size` - limit request length in bytes, `1024` by default * `size` - limit request length in bytes, `1024` by default
* `dump` - dump server queries, keep argument value blank to disable, default mask: `[{time}] [{code}] {host}:{port} {path}` * `dump` - dump server queries, blank to disable, default mask: `[{time}] [{code}] {host}:{port} {path}`
* `{time}` - event time in `c` format * `{time}` - event time in `c` format
* `{code}` - formal response code: `1` - found, `0` - not found * `{code}` - formal response code: `1` - found, `0` - not found
* `{host}` - peer host * `{host}` - peer host

Loading…
Cancel
Save