Browse Source

update links

master
AJ ONeal 6 years ago
parent
commit
76cbd1e52a
  1. 2
      LICENSE
  2. 10
      README.md
  3. 2
      master.js
  4. 9
      package.json
  5. 2
      worker.js

2
LICENSE

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2016 coolaj86, Inc
Copyright (c) 2016 Daplie, Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

10
README.md

@ -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

2
master.js

@ -53,7 +53,7 @@ module.exports.create = function (opts) {
//
/*
var certs = require('localhost.coolaj86.com-certificates').merge({
var certs = require('localhost.example.com-certificates').merge({
subject: msg.domain
, altnames: [ msg.domain ]
, issuedAt: Date.now()

9
package.json

@ -1,6 +1,6 @@
{
"name": "greenlock-cluster",
"version": "2.0.6",
"version": "2.1.0",
"description": "Use automatic letsencrypt (free ssl certs) on multiple cores or even multiple machines",
"main": "index.js",
"directories": {
@ -9,7 +9,6 @@
"dependencies": {
"le-sni-auto": "^2.0.1",
"greenlock": "^2.0.4",
"localhost.coolaj86.com-certificates": "^1.2.3",
"redirect-https": "^1.1.0"
},
"devDependencies": {},
@ -18,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "git+https://git.coolaj86.com/coolaj86/greenlock-cluster.git"
"url": "https://git.coolaj86.com/coolaj86/greenlock-cluster.js.git"
},
"keywords": [
"cluster",
@ -39,7 +38,7 @@
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
"license": "(MIT OR Apache-2.0)",
"bugs": {
"url": "https://git.coolaj86.com/coolaj86/greenlock-cluster/issues"
"url": "https://git.coolaj86.com/coolaj86/greenlock-cluster.js/issues"
},
"homepage": "https://git.coolaj86.com/coolaj86/greenlock-cluster#readme"
"homepage": "https://git.coolaj86.com/coolaj86/greenlock-cluster.js"
}

2
worker.js

@ -67,7 +67,7 @@ module.exports.create = function (opts) {
opts.httpsOptions = require('localhost.coolaj86.com-certificates').merge({ SNICallback: opts.sni.sniCallback });
opts.httpsOptions = { SNICallback: opts.sni.sniCallback };

Loading…
Cancel
Save