Browse Source

update readme

nex-php
yggverse 7 months ago
parent
commit
9f115502ec
  1. 4
      README.md

4
README.md

@ -32,8 +32,8 @@ php src/nex.php host=127.0.0.1 port=1900 path=/target/dir @@ -32,8 +32,8 @@ php src/nex.php host=127.0.0.1 port=1900 path=/target/dir
* `host` - `127.0.0.1` by default
* `port` - `1900` by default
* `file` - index **file name** that server try to open in path requested, disabled by default
* `fail` - failure **file path** that contain template (e.g. `error.gmi`) for the error handler, `fail` text by default
* `file` - index **filename** that server try to open in path requested, disabled by default
* `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}`

Loading…
Cancel
Save