summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-07-23 12:03:10 -0600
committerGitHub <noreply@github.com>2017-07-23 12:03:10 -0600
commita931ae0a72802d28807a156dba399aaef4531e49 (patch)
treea9a28463605eb06eb311eb184397dfc575c759ea /docs/src
parent271bae22b9c954d76e96712a44fe4702f356d116 (diff)
parentb1b0c8b76017ffe7dc60d11d79ec81a8e3d03bce (diff)
Merge pull request #178 from ponzu-cms/ponzu-dev
[cli] add --bind option to run cmd on CLI to set address of listener
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/CLI/General-Usage.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/CLI/General-Usage.md b/docs/src/CLI/General-Usage.md
index dbb8970..993ff18 100644
--- a/docs/src/CLI/General-Usage.md
+++ b/docs/src/CLI/General-Usage.md
@@ -122,6 +122,7 @@ automatically managed using Let's Encrypt (https://letsencrypt.org)
Optional flags:
+- `--bind` sets the address for ponzu to bind the HTTP(S) server
- `--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)
@@ -133,6 +134,8 @@ Example:
```bash
$ ponzu run
(or)
+$ ponzu run --bind=0.0.0.0
+(or)
$ ponzu run --port=8080 --https admin,api
(or)
$ ponzu run admin