update renewWithin defaults
This commit is contained in:
parent
894b687ff7
commit
19dd9a95f4
|
@ -78,8 +78,8 @@ Standalone
|
|||
|
||||
|
||||
var leSni = require('le-sni-auto').create({
|
||||
renewWithin: 10 * 24 * 60 * 60 1000 // do not renew prior to 10 days before expiration
|
||||
, renewBy: 5 * 24 * 60 * 60 1000 // do not wait more than 5 days before expiration
|
||||
renewWithin: 14 * 24 * 60 * 60 1000 // do not renew prior to 10 days before expiration
|
||||
, renewBy: 10 * 24 * 60 * 60 1000 // do not wait more than 5 days before expiration
|
||||
|
||||
// key (privkey.pem) and cert (cert.pem + chain.pem) will be provided by letsencrypt
|
||||
, tlsOptions: { rejectUnauthorized: true, requestCert: false, ca: null, crl: null }
|
||||
|
@ -145,7 +145,7 @@ This gets passed to `https.createServer(tlsOptions, app)` as `tlsOptions.SNICall
|
|||
|
||||
```javascript
|
||||
var leSni = require('le-sni-auto').create({
|
||||
renewWithin: 10 * 24 * 60 * 60 1000
|
||||
renewWithin: 14 * 24 * 60 * 60 1000
|
||||
});
|
||||
|
||||
var tlsOptions = require('localhost.daplie.com-certificates').merge({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "le-sni-auto",
|
||||
"version": "2.1.3",
|
||||
"version": "2.1.4",
|
||||
"description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback",
|
||||
"homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js",
|
||||
"main": "index.js",
|
||||
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.coolaj86.com/coolaj86/le-sni-auto.git"
|
||||
"url": "git+https://git.coolaj86.com/coolaj86/le-sni-auto.js.git"
|
||||
},
|
||||
"keywords": [
|
||||
"le-sni",
|
||||
|
|
Loading…
Reference in New Issue