change --servername to --sites

This commit is contained in:
AJ ONeal 2017-02-01 15:56:40 -07:00
parent f6f6232f0c
commit 653f121192
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ Examples:
npm install -g git+https://git@git.daplie.com:Daplie/serve-https npm install -g git+https://git@git.daplie.com:Daplie/serve-https
# Use tunnel # Use tunnel
serve-https --servername jane.daplie.me --agree-tos --email jane@example.com --tunnel serve-https --sites jane.daplie.me --agree-tos --email jane@example.com --tunnel
# BEFORE you access in a browser for the first time, use curl # BEFORE you access in a browser for the first time, use curl
# (because there's a concurrency bug in the greenlock setup) # (because there's a concurrency bug in the greenlock setup)
@ -75,8 +75,8 @@ Options:
* `--email <email>` - email to use for Let's Encrypt, Daplie DNS, Daplie Tunnel * `--email <email>` - email to use for Let's Encrypt, Daplie DNS, Daplie Tunnel
* `--agree-tos` - agree to terms for Let's Encrypt, Daplie DNS * `--agree-tos` - agree to terms for Let's Encrypt, Daplie DNS
* `--servername <servername>` - use `<servername>` instead of `localhost.daplie.me` * `--sites <servername1[,servername2]>` - use `<servername>` instead of `localhost.daplie.me`
* `--tunnel` - make world-visible (must use `--servername`) * `--tunnel` - make world-visible (must use `--sites`)
Specifying a custom HTTPS certificate: Specifying a custom HTTPS certificate:
@ -93,7 +93,7 @@ Note: `--root` may specify single cert or a bundle, and may be used multiple tim
Other options: Other options:
* `--serve-root true` alias for `-c` with the contents of root.pem * `--serve-root true` alias for `-c` with the contents of root.pem
* `--servername example.com` changes the servername logged to the console * `--sites example.com` changes the servername logged to the console
* `--letsencrypt-certs example.com` sets and key, fullchain, and root to standard letsencrypt locations * `--letsencrypt-certs example.com` sets and key, fullchain, and root to standard letsencrypt locations
Examples Examples
@ -139,7 +139,7 @@ which is equilavent to
```bash ```bash
sudo serve-https -p 8443 \ sudo serve-https -p 8443 \
--servername test.mooo.com --sites test.mooo.com
--key /etc/letsencrypt/live/test.mooo.com/privkey.pem \ --key /etc/letsencrypt/live/test.mooo.com/privkey.pem \
--cert /etc/letsencrypt/live/test.mooo.com/fullchain.pem \ --cert /etc/letsencrypt/live/test.mooo.com/fullchain.pem \
--root /etc/letsencrypt/live/test.mooo.com/root.pem \ --root /etc/letsencrypt/live/test.mooo.com/root.pem \