greenlock-express.js/examples/quickstart/README.md

23 lines
451 B
Markdown
Raw Permalink Normal View History

2019-11-01 10:12:40 +00:00
# Quick Start for Let's Encrypt with Node.js
```js
npm install --save greenlock-express
```
Manage via API or the config file:
`~/.config/greenlock/manage.json`: (default filesystem config)
```json
{
2019-11-01 21:14:07 +00:00
"subscriberEmail": "letsencrypt-test@therootcompany.com",
"agreeToTerms": true,
"sites": {
"example.com": {
"subject": "example.com",
"altnames": ["example.com", "www.example.com"]
}
}
2019-11-01 10:12:40 +00:00
}
```