|
|
@ -1,6 +1,6 @@ |
|
|
|
| Sponsered by [ppl](https://ppl.family) |
|
|
|
| A [Root](https://therootcompany.com) Project |
|
|
|
| [greenlock (lib)](https://git.coolaj86.com/coolaj86/greenlock.js) |
|
|
|
| [greenlock-cli](https://git.coolaj86.com/coolaj86/greenlock-cli.js) |
|
|
|
| [greenlock-cli](https://git.coolaj86.com/coolaj86/greenlock-cli.js) |
|
|
|
| [greenlock-express](https://git.coolaj86.com/coolaj86/greenlock-express.js) |
|
|
|
| **greenlock-cluster** |
|
|
|
| [greenlock-koa](https://git.coolaj86.com/coolaj86/greenlock-koa.js) |
|
|
@ -17,7 +17,7 @@ Use automatic letsencrypt with node on multiple cores or even multiple machines. |
|
|
|
* Take advantage of multi-core computing |
|
|
|
* Process certificates in master |
|
|
|
* Serve https from multiple workers |
|
|
|
* Can work with any clustering strategy [#1](https://github.com/coolaj86/letsencrypt-cluster/issues/1) |
|
|
|
* Can work with any clustering strategy [#1](https://github.com/Daplie/letsencrypt-cluster/issues/1) |
|
|
|
|
|
|
|
Install |
|
|
|
======= |
|
|
@ -68,7 +68,7 @@ Master |
|
|
|
------ |
|
|
|
|
|
|
|
We think it makes the most sense to load greenlock in master. |
|
|
|
This can prevent race conditions (see [node-letsencrypt#45](https://github.com/coolaj86/node-letsencrypt/issues/45)) |
|
|
|
This can prevent race conditions (see [node-letsencrypt#45](https://github.com/Daplie/node-letsencrypt/issues/45)) |
|
|
|
as only one process is writing the to file system or database at a time. |
|
|
|
|
|
|
|
The main implementation detail here is `approveDomains(options, certs, cb)` for new domain certificates |
|
|
@ -87,7 +87,7 @@ module.exports.init = function (sharedOpts) { |
|
|
|
var cores = require('os').cpus(); |
|
|
|
var leMaster = require('greenlock-cluster/master').create({ |
|
|
|
debug: sharedOpts.debug |
|
|
|
|
|
|
|
|
|
|
|
// You MUST change this to 'https://acme-v02.api.letsencrypt.org/directory' in production |
|
|
|
server: 'https://acme-staging-v02.api.letsencrypt.org/directory' |
|
|
|
, version: 'draft-11' // Let's Encrypt v2 |
|
|
|