le-challenge-dns -> le-challenge-ddns
This commit is contained in:
parent
8398af7d9f
commit
e5a4b97c3f
|
@ -7,7 +7,7 @@
|
||||||
| [letsencrypt-hapi](https://github.com/Daplie/letsencrypt-hapi)
|
| [letsencrypt-hapi](https://github.com/Daplie/letsencrypt-hapi)
|
||||||
|
|
|
|
||||||
|
|
||||||
le-challenge-dns
|
le-challenge-ddns
|
||||||
================
|
================
|
||||||
|
|
||||||
A dns-based strategy for node-letsencrypt for setting, retrieving,
|
A dns-based strategy for node-letsencrypt for setting, retrieving,
|
||||||
|
@ -27,14 +27,14 @@ Install
|
||||||
-------
|
-------
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install --save le-challenge-dns@2.x
|
npm install --save le-challenge-ddns@2.x
|
||||||
```
|
```
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
var leChallengeDns = require('le-challenge-dns').create({
|
var leChallengeDdns = require('le-challenge-ddns').create({
|
||||||
email: 'john.doe@example.com'
|
email: 'john.doe@example.com'
|
||||||
, refreshToken: '...'
|
, refreshToken: '...'
|
||||||
, ttl: 60
|
, ttl: 60
|
||||||
|
@ -48,7 +48,7 @@ LE.create({
|
||||||
server: LE.stagingServerUrl // Change to LE.productionServerUrl in production
|
server: LE.stagingServerUrl // Change to LE.productionServerUrl in production
|
||||||
, challengeType: 'dns-01'
|
, challengeType: 'dns-01'
|
||||||
, challenges: {
|
, challenges: {
|
||||||
'dns-01': leChallengeDns
|
'dns-01': leChallengeDdns
|
||||||
}
|
}
|
||||||
, approvedDomains: [ 'example.com' ]
|
, approvedDomains: [ 'example.com' ]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue