add options

This commit is contained in:
AJ ONeal 2016-10-17 17:52:32 -06:00
parent 8de4178a7d
commit 31fec862f4
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ Examples:
node serve.js --servername jane.daplie.me --agree-tos --email jane@example.com --tunnel
```
Options:
* `-p <port>` - i.e. `sudo serve-https -p 443` (defaults to 80+443 or 8443)
* `-d <dirpath>` - i.e. `serve-https -d /tmp/` (defaults to `pwd`)
* `-c <content>` - i.e. `server-https -c 'Hello, World! '` (defaults to directory index)