diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-06-10 16:05:43 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-06-10 16:05:43 -0700 |
commit | a5c4288a8c743cac1637184b252595f150fb6748 (patch) | |
tree | e65b5a0dc7579b0af904c487570c5c5ade742f7b /docs/src | |
parent | 0c395e5df3f82037fbdc6076df87d81ea5921574 (diff) |
update docs with docs flag documentation
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/CLI/General-Usage.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/src/CLI/General-Usage.md b/docs/src/CLI/General-Usage.md index 3a4544f..dbb8970 100644 --- a/docs/src/CLI/General-Usage.md +++ b/docs/src/CLI/General-Usage.md @@ -121,10 +121,13 @@ if the server should utilize TLS encryption - served over HTTPS, which is automatically managed using Let's Encrypt (https://letsencrypt.org) Optional flags: + - `--port` sets the port on which the server listens for HTTP requests [defaults to 8080] - `--https-port` sets the port on which the server listens for HTTPS requests [defaults to 443] - `--https` enables auto HTTPS management via Let's Encrypt (port is always 443) - `--dev-https` generates self-signed SSL certificates for development-only (port is 10443) +- `--docs` runs a local documentation server in case of no network connection +- `--docs-port` sets the port on which the docs server listens for HTTP requests [defaults to 1234] Example: ```bash @@ -136,7 +139,7 @@ $ ponzu run admin (or) $ ponzu run --port=8888 api (or) -$ ponzu --dev-https run +$ ponzu run --dev-https ``` Defaults to `$ ponzu run --port=8080 admin,api` (running Admin & API on port 8080, without TLS) |