rearrange

This commit is contained in:
AJ ONeal 2015-12-12 22:45:21 -08:00
parent 039fb37136
commit 1f1b0d7ebc
1 changed files with 10 additions and 2 deletions

View File

@ -56,13 +56,21 @@ than what makes sense to show in a minimal snippet.
node examples/commandline.js example.com,www.example.com user@example.net agree node examples/commandline.js example.com,www.example.com user@example.net agree
``` ```
* [expressjs (fully automatic https)](https://github.com/Daplie/node-letsencrypt/blob/master/examples/express.js)
```bash ```bash
# clear out the certificates
rm -rf tests/letsencrypt.*
# automatic registration and renewal (certs install as you visit the site for the first time) # automatic registration and renewal (certs install as you visit the site for the first time)
# (runs against testing server on tls port 5001) # (runs against testing server on tls port 5001)
node examples/commandline.js example.com,www.example.com user@example.net agree node examples/express.js example.com,www.example.com user@example.net agree
``` ```
* [expressjs (fully automatic https)](https://github.com/Daplie/node-letsencrypt/blob/master/examples/express.js) ```bash
# this will take a moment because it won't respond to the tls sni header until it gets the certs
curl https://example.com/
```
### non-root ### non-root